diff options
author | montellese <montellese@xbmc.org> | 2012-07-08 21:43:17 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2012-07-08 21:43:17 +0200 |
commit | bdbe25d87e8fd07b8ac9edb1d6d16a9cbcfc428c (patch) | |
tree | 97e2ae82012758228efb8497163de5373401458f | |
parent | 5fe725d196a87807e399a4788c91426f8fc87709 (diff) |
silence compiler warning in CAddonDll
-rw-r--r-- | xbmc/addons/AddonDll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/AddonDll.h b/xbmc/addons/AddonDll.h index 7e47f7632b..dd43e20336 100644 --- a/xbmc/addons/AddonDll.h +++ b/xbmc/addons/AddonDll.h @@ -430,7 +430,7 @@ ADDON_STATUS CAddonDll<TheDll, TheStruct, TheProps>::TransferSettings() else if (strcmpi(type, "rangeofnum") == 0 || strcmpi(type, "slider") == 0 || strcmpi(type, "number") == 0) { - float tmpf = atof(GetSetting(id)); + float tmpf = (float)atof(GetSetting(id)); int tmpi; if (option && strcmpi(option,"int") == 0) |