From d7c78472742c0d749367f15e7b6be8aa2307523f Mon Sep 17 00:00:00 2001 From: rextimmy Date: Sun, 10 Sep 2017 09:52:25 +1000 Subject: [PATCH] Mac compile fix for SQLiteObject --- Engine/source/sqlite/SQLiteObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/sqlite/SQLiteObject.cpp b/Engine/source/sqlite/SQLiteObject.cpp index cd20b93f3..7fe06de5f 100644 --- a/Engine/source/sqlite/SQLiteObject.cpp +++ b/Engine/source/sqlite/SQLiteObject.cpp @@ -605,7 +605,7 @@ ConsoleMethod(SQLiteObject, query, S32, 4, 0, "(const char* sql, S32 mode) Perfo } else return 0; // incorrect number of question marks vs arguments - Con::printf("Old SQL: %s\nNew SQL: %s", argv[2], szNew); + Con::printf("Old SQL: %s\nNew SQL: %s", argv[2].getStringValue(), szNew); return object->ExecuteSQL(szNew); }