J
JC
when i compile my c program which use to link to a access database via ODBC
i got two warning message when i compile the c program
odbctest.c(37) : warning C4761: integral size mismatch in argument;
conversion supplied
odbctest.c(38) : warning C4761: integral size mismatch in argument;
conversion supplied
my coding are like the following
....
HSTMT hstmt;
int no;
char* szModel[128];
SDWORD cbMobel;
......
line 37: SQLBindCol(hStme, no, SQL_C_CHAR, szModel,
sizeof(szModel),&cbModel);
can anyone give me a idea? what problem on my coding.. and how to fix the
warning message.
thanks
JC
i got two warning message when i compile the c program
odbctest.c(37) : warning C4761: integral size mismatch in argument;
conversion supplied
odbctest.c(38) : warning C4761: integral size mismatch in argument;
conversion supplied
my coding are like the following
....
HSTMT hstmt;
int no;
char* szModel[128];
SDWORD cbMobel;
......
line 37: SQLBindCol(hStme, no, SQL_C_CHAR, szModel,
sizeof(szModel),&cbModel);
can anyone give me a idea? what problem on my coding.. and how to fix the
warning message.
thanks
JC