[MPlayer-cvslog] r33801 - trunk/libmenu/menu_dvbin.c

reimar subversion at mplayerhq.hu
Sun Jul 3 01:27:19 CEST 2011


Author: reimar
Date: Sun Jul  3 01:27:19 2011
New Revision: 33801

Log:
Use proper format string for sizeof() type.

Modified:
   trunk/libmenu/menu_dvbin.c

Modified: trunk/libmenu/menu_dvbin.c
==============================================================================
--- trunk/libmenu/menu_dvbin.c	Sun Jul  3 01:26:05 2011	(r33800)
+++ trunk/libmenu/menu_dvbin.c	Sun Jul  3 01:27:19 2011	(r33801)
@@ -125,7 +125,7 @@ static int fill_channels_menu(menu_t *me
 		}
 		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 @@ static int fill_cards_menu(menu_t *menu,
 		}
 		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;


More information about the MPlayer-cvslog mailing list