]> Creatis software - gdcm.git/blobdiff - src/gdcmDictEntry.cxx
COMP: applying another patch send to jasper group, to please bcc32 5.5.1
[gdcm.git] / src / gdcmDictEntry.cxx
index f47d5276585384b801ff57f4135c1e224bd657b7..ad21049b400fd6a77527507b4b09a86ad1ddc7bc 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/06/07 08:59:39 $
-  Version:   $Revision: 1.46 $
+  Date:      $Date: 2005/06/07 14:50:36 $
+  Version:   $Revision: 1.48 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -22,6 +22,7 @@
 
 #include <iomanip> // for std::ios::left, ...
 #include <fstream>
+#include <stdio.h> // for sprintf, grrrr
 
 namespace gdcm 
 {
@@ -98,7 +99,7 @@ TagKey DictEntry::TranslateToKey(uint16_t group, uint16_t elem)
    // time consuming methods.
    // Let's try to shorten it !
  
-   //return Util::Format("%04x|%04x", group, elem);
+   //return Util::Format("%04x|%04x", group, elem); // too much time !
    char res[10];
    sprintf(res,"%04x|%04x", group, elem);
    return res;