X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..3d62dcb6b571cdcc0748f1f91223713755f54abc:/src/iodbc/connect.c?ds=inline diff --git a/src/iodbc/connect.c b/src/iodbc/connect.c index b444f77c5e..bd803f7c0e 100644 --- a/src/iodbc/connect.c +++ b/src/iodbc/connect.c @@ -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;