diff Core/SQLite/Statement.cpp @ 3585:113a9643e8bb

Suppressed a few warnings when building with emscripten (clang) + numeric truncation warnings
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 02 Dec 2019 10:59:40 +0100
parents fa5ad4368fe3
children
line wrap: on
line diff
--- a/Core/SQLite/Statement.cpp	Sun Dec 01 11:12:48 2019 +0100
+++ b/Core/SQLite/Statement.cpp	Mon Dec 02 10:59:40 2019 +0100
@@ -218,7 +218,7 @@
       CheckOk(sqlite3_bind_text(GetStatement(),
                                 col + 1,
                                 val.data(),
-                                val.size(),
+                                static_cast<int>(val.size()),
                                 SQLITE_TRANSIENT),
               ErrorCode_BadParameterType);
     }