Mercurial > mplayer.hg
changeset 33713:bf15e320d5e3
Use proper format string for sizeof() type.
author | reimar |
---|---|
date | Sat, 02 Jul 2011 23:27:19 +0000 |
parents | 2d193c9affc7 |
children | 5fda3578d1c5 |
files | libmenu/menu_dvbin.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmenu/menu_dvbin.c Sat Jul 02 23:26:05 2011 +0000 +++ b/libmenu/menu_dvbin.c Sat Jul 02 23:27:19 2011 +0000 @@ -125,7 +125,7 @@ } else { - mp_msg(MSGT_DEMUX, MSGL_ERR, "dvb_menu: fill_menu: couldn't malloc %d bytes for menu item: %s, exit\n", + mp_msg(MSGT_DEMUX, MSGL_ERR, "dvb_menu: fill_menu: couldn't malloc %zd bytes for menu item: %s, exit\n", sizeof(list_entry_t), strerror(errno)); break; } @@ -155,7 +155,7 @@ } else { - fprintf(stderr, "dvb_menu: fill_menu: couldn't malloc %d bytes for menu item: %s, exit\n", + fprintf(stderr, "dvb_menu: fill_menu: couldn't malloc %zd bytes for menu item: %s, exit\n", sizeof(list_entry_t), strerror(errno)); if(n) return 1;