diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-18 14:25:22 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-18 14:25:22 +0100 |
commit | dbf98a34e08558b91328cb414447e9961c222033 (patch) | |
tree | bf339a91a584bd29dcde72463c05d26c3ac6bdc1 /libodbcpp/odbc-modifycommand.cpp | |
parent | Replace straggling typedefs (diff) | |
download | libdbpp-odbc-dbf98a34e08558b91328cb414447e9961c222033.tar.bz2 libdbpp-odbc-dbf98a34e08558b91328cb414447e9961c222033.tar.xz libdbpp-odbc-dbf98a34e08558b91328cb414447e9961c222033.zip |
Add JT recommended warnings
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(); } |