[freetds] Build Error

Duncan Berriman duncan at dcl.co.uk
Mon May 21 08:10:04 EDT 2007


Fixed it.

Appears I need to cast it with (SQLCHAR *)

SQLGetDiagRec(SQL_HANDLE_STMT, Statement, 1, (SQLCHAR *) errornumber, NULL,
(SQLCHAR *) message, sizeof(message), NULL);

Works fine now. Guess the compiler is more picky on FC4.

Duncan




More information about the FreeTDS mailing list