From 1a57e45430007fa3109aac55df157df993565f32 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 30 Jan 2011 21:06:05 +0000 Subject: Fix type of rows counter --- libodbcpp/modifycommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libodbcpp') diff --git a/libodbcpp/modifycommand.cpp b/libodbcpp/modifycommand.cpp index 84979e2..a12b9dc 100644 --- a/libodbcpp/modifycommand.cpp +++ b/libodbcpp/modifycommand.cpp @@ -24,7 +24,7 @@ ODBC::ModifyCommand::execute(bool anc) __FUNCTION__); } } - SQLINTEGER rows; + SQLLEN rows; rc = SQLRowCount(hStmt, &rows); if (!SQL_SUCCEEDED(rc)) { connection.abortTx(); -- cgit v1.2.3