changeset 1338:3f4297d01a14

removal of a visual studio warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Apr 2015 15:14:45 +0200
parents afaa55d42ddd
children a87d3288bd39
files Plugins/Include/OrthancCppDatabasePlugin.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Include/OrthancCppDatabasePlugin.h	Tue Mar 31 11:40:29 2015 +0200
+++ b/Plugins/Include/OrthancCppDatabasePlugin.h	Wed Apr 01 15:14:45 2015 +0200
@@ -1365,7 +1365,7 @@
 
       try
       {
-        backend->SetProtectedPatient(id, isProtected);
+        backend->SetProtectedPatient(id, (isProtected != 0));
         return 0;
       }
       catch (std::runtime_error& e)