summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-modifycommand.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:25:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:25:28 +0100
commit7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57 (patch)
tree398c50f5d2cf6001b31ea8628299b8eb90b2c543 /libsqlitepp/sqlite-modifycommand.cpp
parentModern jam lto (diff)
downloadlibdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.tar.bz2
libdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.tar.xz
libdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.zip
Add JT recommended warnings
Diffstat (limited to 'libsqlitepp/sqlite-modifycommand.cpp')
-rw-r--r--libsqlitepp/sqlite-modifycommand.cpp2
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();