summaryrefslogtreecommitdiff
path: root/databases/libodbc++/files/patch-src-statement.cpp
blob: 2f0e536d65d1d96ec65931291c5fce05ecb0d3a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/statement.cpp.orig	Sun Nov 12 13:26:35 2006
+++ src/statement.cpp	Sun Nov 12 13:26:47 2006
@@ -672,7 +672,7 @@
 
   if(lastExecute_!=ODBC3_C(SQL_NO_DATA,SQL_NO_DATA_FOUND)) {
 
-    SQLINTEGER res;
+    SQLLEN res;
     SQLRETURN r=SQLRowCount(hstmt_,&res);
     this->_checkStmtError(hstmt_,r,"Error fetching update count");
     return res;