Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
656:08eca5d86aad | 657:5425bb6f1ea5 |
---|---|
225 int responseCount, | 225 int responseCount, |
226 T_DIMSE_C_FindRSP *response, /* pending response received */ | 226 T_DIMSE_C_FindRSP *response, /* pending response received */ |
227 DcmDataset *responseIdentifiers /* pending response identifiers */ | 227 DcmDataset *responseIdentifiers /* pending response identifiers */ |
228 ) | 228 ) |
229 { | 229 { |
230 DicomFindAnswers& answers = *(DicomFindAnswers*) callbackData; | 230 DicomFindAnswers& answers = *reinterpret_cast<DicomFindAnswers*>(callbackData); |
231 | 231 |
232 if (responseIdentifiers != NULL) | 232 if (responseIdentifiers != NULL) |
233 { | 233 { |
234 DicomMap m; | 234 DicomMap m; |
235 FromDcmtkBridge::Convert(m, *responseIdentifiers); | 235 FromDcmtkBridge::Convert(m, *responseIdentifiers); |