]> git.saurik.com Git - wxWidgets.git/blobdiff - src/iodbc/connect.c
Updated OS/2 sources with fixes to wxControl and wxSpinCtrl
[wxWidgets.git] / src / iodbc / connect.c
index b444f77c5e20f3808ec3d230fb4bc952afb780f6..bd803f7c0e12c7363637dabaf70811ddabe2569f 100644 (file)
@@ -849,7 +849,7 @@ SQLDriverConnect (
           break;
         }
 
-       sprintf (cnstr2drv, "DSN=%s;", dsn);
+       sprintf ((char*)cnstr2drv, "DSN=%s;", dsn);
        cbConnStrIn += STRLEN (cnstr2drv);
        STRNCAT (cnstr2drv, szConnStrIn, cbConnStrIn);
        szConnStrIn = cnstr2drv;