diff options
| author | Antonin Descampe <antonin@gmail.com> | 2006-01-20 16:53:05 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2006-01-20 16:53:05 +0000 |
| commit | 6a52f1a9df27215454b6ac9d9537d621882eb2c0 (patch) | |
| tree | 815044f42244799d5c9bb200a4dd106f3525d279 /codec/j2k_to_image.c | |
| parent | 197b0505cb07544104f336d56384655c1f589f91 (diff) | |
fixed various minor warnings with gdcm patches
Diffstat (limited to 'codec/j2k_to_image.c')
| -rw-r--r-- | codec/j2k_to_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codec/j2k_to_image.c b/codec/j2k_to_image.c index e45dcfe2..b62c1e33 100644 --- a/codec/j2k_to_image.c +++ b/codec/j2k_to_image.c @@ -87,7 +87,7 @@ void decode_help_display() { /* -------------------------------------------------------------------------- */ int get_file_format(char *filename) { - int i; + unsigned int i; static const char *extension[] = {"pgx", "pnm", "pgm", "ppm", "bmp", "j2k", "jp2", "jpt" }; static const int format[] = { PGX_DFMT, PXM_DFMT, PXM_DFMT, PXM_DFMT, BMP_DFMT, J2K_CFMT, JP2_CFMT, JPT_CFMT }; char * ext = strrchr(filename, '.') + 1; @@ -217,6 +217,7 @@ void warning_callback(const char *msg, void *client_data) { sample debug callback expecting no client object */ void info_callback(const char *msg, void *client_data) { + (void)client_data; fprintf(stdout, "[INFO] %s", msg); } |
