changeset 55:1070a1264022

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 31 Aug 2015 17:45:29 +0200 (2015-08-31)
parents 65dbced9e20a
children f48c304b4f5f
files UnitTestsSources/PostgreSQLWrapperTests.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/PostgreSQLWrapperTests.cpp	Fri Aug 07 21:23:04 2015 +0200
+++ b/UnitTestsSources/PostgreSQLWrapperTests.cpp	Mon Aug 31 17:45:29 2015 +0200
@@ -87,9 +87,9 @@
   ASSERT_TRUE(0);  // Error
 }
 
-static int32_t InvokeService(struct _OrthancPluginContext_t* context,
-                             _OrthancPluginService service,
-                             const void* params)
+static OrthancPluginErrorCode InvokeService(struct _OrthancPluginContext_t* context,
+                                            _OrthancPluginService service,
+                                            const void* params)
 {
   if (service == _OrthancPluginService_DatabaseAnswer)
   {
@@ -128,7 +128,7 @@
     }
   }
 
-  return 0;
+  return OrthancPluginErrorCode_Success;
 }