Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPluginDatabase.cpp @ 1545:33d34bc4ac15
fix msvc warnings
author | jodogne |
---|---|
date | Thu, 13 Aug 2015 21:02:31 +0200 |
parents | ffc9f36103b9 |
children | c74495267acf |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.cpp Thu Aug 13 20:39:30 2015 +0200 +++ b/Plugins/Engine/OrthancPluginDatabase.cpp Thu Aug 13 21:02:31 2015 +0200 @@ -543,7 +543,7 @@ throw OrthancException(ErrorCode_Plugin); } - return existing; + return (existing != 0); } @@ -556,7 +556,7 @@ throw OrthancException(ErrorCode_Plugin); } - return isProtected; + return (isProtected != 0); }