# HG changeset patch # User rbultje # Date 1283039816 0 # Node ID abd88124e6a91390c725be1ca52a753b5cfed533 # Parent 2f0124b97014558729893d2f39c344c542a92daf Fix two compiler arnings related to printf-format of sizeof()-statements. diff -r 2f0124b97014 -r abd88124e6a9 mmsh.c --- a/mmsh.c Sat Aug 28 23:55:26 2010 +0000 +++ b/mmsh.c Sat Aug 28 23:56:56 2010 +0000 @@ -117,7 +117,7 @@ int res; if (len > sizeof(mms->in_buffer)) { av_log(NULL, AV_LOG_ERROR, - "Data packet length %d exceeds the in_buffer size %d\n", + "Data packet length %d exceeds the in_buffer size %zu\n", len, sizeof(mms->in_buffer)); return AVERROR(EIO); } @@ -192,7 +192,7 @@ if (len) { if (len > sizeof(mms->in_buffer)) { av_log(NULL, AV_LOG_ERROR, - "Other packet len = %d exceed the in_buffer size %d\n", + "Other packet len = %d exceed the in_buffer size %zu\n", len, sizeof(mms->in_buffer)); return AVERROR(EIO); }