diff options
Diffstat (limited to 'libsqlitepp/sqlite-modifycommand.cpp')
-rw-r--r-- | libsqlitepp/sqlite-modifycommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsqlitepp/sqlite-modifycommand.cpp b/libsqlitepp/sqlite-modifycommand.cpp index 868f187..df859ca 100644 --- a/libsqlitepp/sqlite-modifycommand.cpp +++ b/libsqlitepp/sqlite-modifycommand.cpp @@ -15,7 +15,7 @@ SQLite::ModifyCommand::execute(bool anc) sqlite3_reset(stmt); throw Error(c->db); } - unsigned int rows = sqlite3_changes(c->db); + unsigned int rows = static_cast<unsigned int>(sqlite3_changes(c->db)); sqlite3_reset(stmt); if (rows == 0 && !anc) { throw DB::NoRowsAffected(); |