]> Creatis software - gdcm.git/blobdiff - Testing/TestCopyDicom.cxx
FIX: Revert back to previous version, I don't believe this was a really safe code...
[gdcm.git] / Testing / TestCopyDicom.cxx
index 8bbedf69aea75e703041838331052a6ab270060c..1effa9f67b5c87c86fa8188b3fa3a0f03cdc137a 100644 (file)
@@ -87,7 +87,7 @@ int TestCopyDicom(int , char* [])
          if ( gdcmBinEntry* b = dynamic_cast<gdcmBinEntry*>(d) )
          {              
             copy->GetHeader()->ReplaceOrCreateByNumber( 
-                                 b->GetVoidArea(),
+                                 b->GetBinArea(),
                                  b->GetLength(),
                                  b->GetGroup(), 
                                  b->GetElement(),