changeset 2301:bde58ce4b41c

fix Debian FTBFS #867789
author jodogne
date Mon, 10 Jul 2017 09:28:30 +0200
parents cc92410cbed2
children f31dfb131dee
files Core/SQLite/FunctionContext.cpp Core/SQLite/FunctionContext.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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;