Mercurial > hg > orthanc-databases
changeset 383:bed7615c2484 db-protobuf
pedantic
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 02 Apr 2023 12:52:46 +0200 |
parents | 97f12bcd1826 |
children | e236be67e5f9 |
files | Framework/Plugins/DatabaseBackendAdapterV4.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Plugins/DatabaseBackendAdapterV4.cpp Fri Mar 31 17:28:44 2023 +0200 +++ b/Framework/Plugins/DatabaseBackendAdapterV4.cpp Sun Apr 02 12:52:46 2023 +0200 @@ -1041,8 +1041,8 @@ for (int i = 0; i < request.set_resources_content().tags().size(); i++) { - if (request.set_resources_content().tags(i).group() > 0xffff || - request.set_resources_content().tags(i).element() > 0xffff) + if (request.set_resources_content().tags(i).group() > 0xffffu || + request.set_resources_content().tags(i).element() > 0xffffu) { throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); }