From b971d51b84bb567fc986b761c19654e55e708ad2 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 30 Jan 2011 20:54:52 +0000 Subject: Fix type of bindsize --- libodbcpp/selectcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libodbcpp/selectcommand.cpp') diff --git a/libodbcpp/selectcommand.cpp b/libodbcpp/selectcommand.cpp index 099fe9c..a297f75 100644 --- a/libodbcpp/selectcommand.cpp +++ b/libodbcpp/selectcommand.cpp @@ -80,7 +80,7 @@ ODBC::SelectCommand::execute() for (int col = 0; col < colCount; col++) { SQLCHAR _colName[300]; SQLSMALLINT nameLen, dp, nullable, bindType; - SQLUINTEGER bindSize; + SQLULEN bindSize; int sqlcol = col + 1; if (!SQL_SUCCEEDED(rc = SQLDescribeCol(hStmt, sqlcol, _colName, sizeof(_colName), &nameLen, &bindType, &bindSize, &dp, &nullable))) { -- cgit v1.2.3