[commit] r4868 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: mikej Date: Fri Apr 6 04:57:20 2007 New Revision: 4868 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Log: fix windows build Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Fri Apr 6 04:57:20 2007 @@ -1340,7 +1340,7 @@ } SQLDescribeCol(stmt, 1, name, sizeof(name), &NameLength, &DataType, &ColumnSize, &DecimalDigits, &Nullable); - SQLGetData(stmt, 1, SQL_C_CHAR, (SQLCHAR *)resbuf, len, NULL); + SQLGetData(stmt, 1, SQL_C_CHAR, (SQLCHAR *)resbuf, (SQLINTEGER)len, NULL); SQLFreeHandle(SQL_HANDLE_STMT, stmt); ret = resbuf; }
participants (1)
-
Freeswitch SVN