# HG changeset patch # User jodogne # Date 1499671710 -7200 # Node ID bde58ce4b41c9f45e62a54d7bee00bc2feefe950 # Parent cc92410cbed28b01e65ebf5ae901f4839625ef0b fix Debian FTBFS #867789 diff -r cc92410cbed2 -r bde58ce4b41c Core/SQLite/FunctionContext.cpp --- a/Core/SQLite/FunctionContext.cpp Thu Jul 06 08:43:54 2017 +0200 +++ b/Core/SQLite/FunctionContext.cpp Mon Jul 10 09:28:30 2017 +0200 @@ -49,7 +49,7 @@ { FunctionContext::FunctionContext(struct sqlite3_context* context, int argc, - struct ::Mem** argv) + struct sqlite3_value** argv) { assert(context != NULL); assert(argc >= 0); diff -r cc92410cbed2 -r bde58ce4b41c Core/SQLite/FunctionContext.h --- a/Core/SQLite/FunctionContext.h Thu Jul 06 08:43:54 2017 +0200 +++ b/Core/SQLite/FunctionContext.h Mon Jul 10 09:28:30 2017 +0200 @@ -37,7 +37,7 @@ #include "Statement.h" struct sqlite3_context; -struct Mem; // This corresponds to the opaque type "sqlite3_value" +struct sqlite3_value; namespace Orthanc { @@ -50,14 +50,14 @@ private: struct sqlite3_context* context_; unsigned int argc_; - struct ::Mem** argv_; + struct sqlite3_value** argv_; void CheckIndex(unsigned int index) const; public: FunctionContext(struct sqlite3_context* context, int argc, - struct ::Mem** argv); + struct sqlite3_value** argv); ColumnType GetColumnType(unsigned int index) const;