Mercurial > libavformat.hg
changeset 6419:abd88124e6a9 libavformat
Fix two compiler arnings related to printf-format of sizeof()-statements.
author | rbultje |
---|---|
date | Sat, 28 Aug 2010 23:56:56 +0000 |
parents | 2f0124b97014 |
children | e3eb93b5a119 |
files | mmsh.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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); }