diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-07 19:37:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-07 19:37:48 (GMT) |
commit | bbe03d73613afbcdeca14c045c8b90fac37e0fe8 (patch) | |
tree | 6c6468ecf923ad7f1101e0719d2af1894e63ad64 /tools/gifconv/readhdf.c | |
parent | c952661afbac41d4bf2622899bf2a4c2c02b07b5 (diff) | |
download | hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.zip hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.tar.gz hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.tar.bz2 |
[svn-r10736] Purpose:
Code cleanup
Description:
Clean up some compiler warnings
Platforms tested:
FreeBSD 4.11 (sleipnir)
h5committest
Diffstat (limited to 'tools/gifconv/readhdf.c')
-rw-r--r-- | tools/gifconv/readhdf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gifconv/readhdf.c b/tools/gifconv/readhdf.c index 4b05ad9..2720d4d 100644 --- a/tools/gifconv/readhdf.c +++ b/tools/gifconv/readhdf.c @@ -86,7 +86,7 @@ int ReadHDF(BYTE** data, BYTE palette[256][3], hsize_t *image_size, return -1; } if (H5Tget_size(dtype) != 1) { - fprintf(stderr , "Data is %d bytes per pixel. Cannot convert to GIF\n",H5Tget_size(dtype)); + fprintf(stderr , "Data is %d bytes per pixel. Cannot convert to GIF\n",(int)H5Tget_size(dtype)); return -1; } @@ -141,7 +141,7 @@ int ReadHDF(BYTE** data, BYTE palette[256][3], hsize_t *image_size, return -1; } if (H5Tget_size(pal_dtype) != 1) { - fprintf(stderr , "Palette data is %d bytes per pixel. Cannot convert to GIF\n",H5Tget_size(pal_dtype)); + fprintf(stderr , "Palette data is %d bytes per pixel. Cannot convert to GIF\n",(int)H5Tget_size(pal_dtype)); return -1; } |