From ff72dd8d2cbbdf7c557dd2a80a0ade2491a498e4 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 19 Mar 2012 11:18:24 +0000 Subject: [trunk] start using new functionalities from opj_inttypes in jpip code and main openjpeg --- applications/codec/index.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/codec') diff --git a/applications/codec/index.c b/applications/codec/index.c index 22389c71..c2e46c00 100644 --- a/applications/codec/index.c +++ b/applications/codec/index.c @@ -31,6 +31,7 @@ #include #include "openjpeg.h" #include "index.h" +#include "opj_inttypes.h" /* ------------------------------------------------------------------------------------ */ @@ -380,7 +381,7 @@ int write_index_file(opj_codestream_info_t *cstr_info, char *index) { fprintf(stream, "%d\n", cstr_info->marknum); fprintf(stream, "type\tstart_pos length\n"); for (x = 0; x < cstr_info->marknum; x++) - fprintf(stream, "%X\t%9d %9d\n", cstr_info->marker[x].type, cstr_info->marker[x].pos, cstr_info->marker[x].len); + fprintf(stream, "%X\t%9" PRId64 " %9d\n", cstr_info->marker[x].type, cstr_info->marker[x].pos, cstr_info->marker[x].len); } /* <