diff Core/SQLite/FunctionContext.cpp @ 3589:a648c2d67a65

merge
author Alain Mazy <alain@mazy.be>
date Thu, 19 Dec 2019 22:17:24 +0100
parents 113a9643e8bb
children
line wrap: on
line diff
--- a/Core/SQLite/FunctionContext.cpp	Thu Dec 19 22:16:49 2019 +0100
+++ b/Core/SQLite/FunctionContext.cpp	Thu Dec 19 22:17:24 2019 +0100
@@ -121,7 +121,7 @@
 
     void FunctionContext::SetStringResult(const std::string& str)
     {
-      sqlite3_result_text(context_, str.data(), str.size(), SQLITE_TRANSIENT);
+      sqlite3_result_text(context_, str.data(), static_cast<int>(str.size()), SQLITE_TRANSIENT);
     }
   }
 }