diff 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
line wrap: on
line diff
--- a/OrthancServer/Internals/MoveScp.cpp	Wed Oct 30 11:56:28 2013 +0100
+++ b/OrthancServer/Internals/MoveScp.cpp	Mon Nov 04 11:19:31 2013 +0100
@@ -74,7 +74,7 @@
       *statusDetail = NULL;
       *responseIdentifiers = NULL;   
 
-      MoveScpData& data = *(MoveScpData*) callbackData;
+      MoveScpData& data = *reinterpret_cast<MoveScpData*>(callbackData);
       if (data.lastRequest_ == NULL)
       {
         FromDcmtkBridge::Convert(data.input_, *requestIdentifiers);