]> Creatis software - gdcm.git/blobdiff - src/gdcmjasper/src/libjasper/base/jas_debug.c
COMP: try to get rid of a warning on gcc/MacOSX
[gdcm.git] / src / gdcmjasper / src / libjasper / base / jas_debug.c
index 413791dbcb96aedafe9497944f6d12bdde7a6b59..3f0934a503c9541dd780bb2a5e4b761fdf6cee5b 100644 (file)
@@ -125,7 +125,7 @@ int jas_memdump(FILE *out, void *data, size_t len)
   uchar *dp;
   dp = data;
   for (i = 0; i < len; i += 16) {
-    fprintf(out, "%04x:", i);
+    fprintf(out, "%04x:", (unsigned int)i);
     for (j = 0; j < 16; ++j) {
       if (i + j < len) {
         fprintf(out, " %02x", dp[i + j]);