diff options
Diffstat (limited to 'libodbcpp/odbc-modifycommand.cpp')
-rw-r--r-- | libodbcpp/odbc-modifycommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/odbc-modifycommand.cpp b/libodbcpp/odbc-modifycommand.cpp index 2fca416..a5f5918 100644 --- a/libodbcpp/odbc-modifycommand.cpp +++ b/libodbcpp/odbc-modifycommand.cpp @@ -21,7 +21,7 @@ ODBC::ModifyCommand::execute(bool anc) throw Error(rc, SQL_HANDLE_STMT, hStmt); } if (rows > 0 || anc) { - return rows; + return static_cast<unsigned int>(rows); } throw DB::NoRowsAffected(); } |