Fixed 64 compilation & odbc unittest

This commit is contained in:
Jean-Michel Vourgère
2011-09-04 17:17:35 -04:00
committed by Brian Bruns
parent a4a1685b1f
commit c46fdfa782
2 changed files with 3 additions and 3 deletions

View File

@@ -1377,8 +1377,8 @@ SQLRETURN SQL_API SQLGetData(
SQLUSMALLINT icol, SQLUSMALLINT icol,
SQLSMALLINT fCType, SQLSMALLINT fCType,
SQLPOINTER rgbValue, SQLPOINTER rgbValue,
SQLINTEGER cbValueMax, SQLLEN cbValueMax,
SQLINTEGER FAR *pcbValue) SQLLEN FAR *pcbValue)
{ {
struct _hstmt *stmt; struct _hstmt *stmt;
struct _hdbc *dbc; struct _hdbc *dbc;

View File

@@ -158,7 +158,7 @@ int i;
if (retcode == SQL_SUCCESS || retcode == SQL_SUCCESS_WITH_INFO) if (retcode == SQL_SUCCESS || retcode == SQL_SUCCESS_WITH_INFO)
{ {
UCHAR szCol1[60]; UCHAR szCol1[60];
SQLINTEGER length; SQLLEN length;
printf("excecuting first statement\n"); printf("excecuting first statement\n");
retcode = SQLExecute(hstmt); retcode = SQLExecute(hstmt);