X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/iodbc/connect.c?ds=sidebyside diff --git a/src/iodbc/connect.c b/src/iodbc/connect.c index b444f77c5e..2bd934f6a2 100644 --- a/src/iodbc/connect.c +++ b/src/iodbc/connect.c @@ -742,7 +742,7 @@ SQLConnect ( RETCODE SQL_API SQLDriverConnect ( HDBC hdbc, - HWND hwnd, + SQLHWND hwnd, UCHAR FAR * szConnStrIn, SWORD cbConnStrIn, UCHAR FAR * szConnStrOut, @@ -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;