Mercurial > hg > orthanc
comparison OrthancServer/Internals/MoveScp.cpp @ 656:08eca5d86aad
fixes to cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Nov 2013 11:19:31 +0100 |
parents | 60d90e48e809 |
children | 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
655:93adc693cc60 | 656:08eca5d86aad |
---|---|
72 { | 72 { |
73 bzero(response, sizeof(T_DIMSE_C_MoveRSP)); | 73 bzero(response, sizeof(T_DIMSE_C_MoveRSP)); |
74 *statusDetail = NULL; | 74 *statusDetail = NULL; |
75 *responseIdentifiers = NULL; | 75 *responseIdentifiers = NULL; |
76 | 76 |
77 MoveScpData& data = *(MoveScpData*) callbackData; | 77 MoveScpData& data = *reinterpret_cast<MoveScpData*>(callbackData); |
78 if (data.lastRequest_ == NULL) | 78 if (data.lastRequest_ == NULL) |
79 { | 79 { |
80 FromDcmtkBridge::Convert(data.input_, *requestIdentifiers); | 80 FromDcmtkBridge::Convert(data.input_, *requestIdentifiers); |
81 | 81 |
82 try | 82 try |