changeset 2543:6c72ef308cb3

fix openbsd
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Apr 2018 20:41:49 +0200
parents 4ff979cf676e
children d5ca5a5abe12
files UnitTestsSources/RestApiTests.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/RestApiTests.cpp	Tue Apr 17 17:33:54 2018 +0200
+++ b/UnitTestsSources/RestApiTests.cpp	Tue Apr 17 20:41:49 2018 +0200
@@ -288,7 +288,7 @@
                        const IHttpHandler::Arguments& components,
                        const UriComponents& trailing)
     {
-      return resource.Handle(*reinterpret_cast<RestApiGetCall*>(NULL));
+      return resource.Handle(*(RestApiGetCall*) NULL);
     }
   };
 }