freebsd-ports/databases/libodbc++/files/patch-src-statement.cpp
Max Khon 972df48076 Fix build on 64-bit arches (amd64).
Pointed out by:	kris (via pointyhat)
2006-11-12 13:50:54 +00:00

11 lines
351 B
C++

--- 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;