X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicom.cxx;h=406a00acb937b6427132b2117723ddf38f803e1a;hb=ff8631dd8488e6604df635faf472ee85f5b8a4b6;hp=e450f33f0689307afbc75561dc2353682d72af40;hpb=ce8913daafe02955368fd2f07e777e86824467cc;p=gdcm.git diff --git a/Example/WriteDicom.cxx b/Example/WriteDicom.cxx index e450f33f..406a00ac 100644 --- a/Example/WriteDicom.cxx +++ b/Example/WriteDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicom.cxx,v $ Language: C++ - Date: $Date: 2005/01/25 15:44:22 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/02/02 10:06:32 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,7 +21,7 @@ // Writting of a DICOM file based on a correct dicom header // and data pixel of another image -int main(int argc, char* argv[]) +int main(int argc, char *argv[]) { if (argc < 3) @@ -56,7 +56,7 @@ int main(int argc, char* argv[]) // and that does the job int dataSize = f2->GetImageDataSize(); - uint8_t* imageData = f2->GetImageData(); + uint8_t *imageData = f2->GetImageData(); std::cout << "dataSize :" << dataSize << std::endl;