possible issue in DcmFindSCU

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

possible issue in DcmFindSCU

#1 Post by Shaeto »

dfindscu.cc, static void progressCallback

it casts and calls DcmFindSCUDefaultCallback class method BUT by idea should cast to DcmFindSCUCallback. mb i am wrong.

Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

#2 Post by Shaeto »

same for version 20100903

DcmFindSCUDefaultCallback *callback = OFreinterpret_cast(DcmFindSCUDefaultCallback *, callbackData);

definitely wrong. caller will pass DcmFindSCUCallback inherited class, not "default"

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#3 Post by Jörg Riesmeier »

Thank you for the report. This issue is now fixed.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest