Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 657:5425bb6f1ea5
further cppcheck fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Nov 2013 11:46:23 +0100 |
parents | 08eca5d86aad |
children | 70161eb45b5c |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Nov 04 11:19:31 2013 +0100 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Nov 04 11:46:23 2013 +0100 @@ -227,7 +227,7 @@ DcmDataset *responseIdentifiers /* pending response identifiers */ ) { - DicomFindAnswers& answers = *(DicomFindAnswers*) callbackData; + DicomFindAnswers& answers = *reinterpret_cast<DicomFindAnswers*>(callbackData); if (responseIdentifiers != NULL) {