#ifndef _WIN32
#include <unistd.h> //for access, unlink
+#else
+#include <io.h> //for _access
#endif
// return true if the file exists
return 1;
}
+// don't modify identation in order to let this source xdiffable with ../Test
+
std::string filename = argv[1];
std::string output = argv[2];
TagDocEntryHT & Ht = original->GetHeader()->GetEntry();
size_t dataSize = original->GetImageDataSize();
- void *imageData = original->GetImageData();
+ uint8_t* imageData = original->GetImageData();
//First of all copy the header field by field
if ( gdcmBinEntry* b = dynamic_cast<gdcmBinEntry*>(d) )
{
copy->GetHeader()->ReplaceOrCreateByNumber(
- b->GetVoidArea(),
+ b->GetBinArea(),
b->GetLength(),
b->GetGroup(),
b->GetElement(),