diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-03-26 15:04:49 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-03-26 15:04:49 +0000 |
| commit | 569bc02649de78c686cbc1677f503bf59b5410c4 (patch) | |
| tree | a8f0215d0e1f0971161adb056ba1717fda5de50d /applications/jpip/libopenjpip/dec_clientmsg_handler.c | |
| parent | 178309be477d6f453f3d771ec0893b08735e932b (diff) | |
[trunk] another set of warnings fixes for LFS support
Diffstat (limited to 'applications/jpip/libopenjpip/dec_clientmsg_handler.c')
| -rw-r--r-- | applications/jpip/libopenjpip/dec_clientmsg_handler.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/applications/jpip/libopenjpip/dec_clientmsg_handler.c b/applications/jpip/libopenjpip/dec_clientmsg_handler.c index 8fdf3109..9b4944f9 100644 --- a/applications/jpip/libopenjpip/dec_clientmsg_handler.c +++ b/applications/jpip/libopenjpip/dec_clientmsg_handler.c @@ -35,19 +35,20 @@ #include "ihdrbox_manager.h" #include "jpipstream_manager.h" #include "jp2k_encoder.h" +#include "opj_inttypes.h" void handle_JPIPstreamMSG( SOCKET connected_socket, cachelist_param_t *cachelist, - Byte_t **jpipstream, int *streamlen, msgqueue_param_t *msgqueue) + Byte_t **jpipstream, OPJ_SIZE_T *streamlen, msgqueue_param_t *msgqueue) { Byte_t *newjpipstream; - int newstreamlen = 0; + OPJ_SIZE_T newstreamlen = 0; cache_param_t *cache; char *target, *tid, *cid; metadatalist_param_t *metadatalist; newjpipstream = receive_JPIPstream( connected_socket, &target, &tid, &cid, &newstreamlen); - fprintf( stderr, "newjpipstream length: %d\n", newstreamlen); + fprintf( stderr, "newjpipstream length: %" PRIu64 "\n", newstreamlen); parse_JPIPstream( newjpipstream, newstreamlen, *streamlen, msgqueue); @@ -144,7 +145,7 @@ void handle_TIDreqMSG( SOCKET connected_socket, cachelist_param_t *cachelist) { char *target, *tid = NULL; cache_param_t *cache; - int tidlen = 0; + OPJ_SIZE_T tidlen = 0; target = receive_string( connected_socket); cache = search_cache( target, cachelist); |
