silence compiler warning in CAddonDll
authormontellese <montellese@xbmc.org>
Sun, 8 Jul 2012 19:43:17 +0000 (21:43 +0200)
committermontellese <montellese@xbmc.org>
Sun, 8 Jul 2012 19:43:17 +0000 (21:43 +0200)
xbmc/addons/AddonDll.h

index 7e47f76..dd43e20 100644 (file)
@@ -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)