Shaun R. <[EMAIL PROTECTED]> wrote: > I'm getting this warning when doing the following > > warning: pointer targets in passing argument 2 of 'strcpy' differ in > signedness > > strcpy(result->ip_address,sqlite3_column_text(plineInfo, 2));
sqlite3_column_text returns unsigned char*. Most CRT functions expect char* (on most implementations, plain char is signed). To avoid the warning, simply cast the return value of sqlite3_column_text to char*. Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users