]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/odbc.cpp
DATAFILES may contain directories too
[wxWidgets.git] / src / common / odbc.cpp
index f82a986409db28e6e0a71ec989f71785260444b3..224738bda46f9d36e19ad462fefe79e655ad90d0 100644 (file)
@@ -443,7 +443,7 @@ float wxDatabase::GetODBCVersionFloat(bool implementation)
   if (retcode == SQL_ERROR)
     return 0.0;
   else
-    return atof(buf);
+    return (float)atof(buf);
 }
 
 /*