[MPlayer-cvslog] r38463 - trunk/gui/dialog/dialog.c

ib subversion at mplayerhq.hu
Sun Apr 21 12:50:05 EEST 2024


Author: ib
Date: Sun Apr 21 12:50:05 2024
New Revision: 38463

Log:
Fix "warning: cast from pointer to integer of different size".

Modified:
   trunk/gui/dialog/dialog.c

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Sun Apr 21 12:47:17 2024	(r38462)
+++ trunk/gui/dialog/dialog.c	Sun Apr 21 12:50:05 2024	(r38463)
@@ -327,7 +327,7 @@ void gtkShow(int type, char *param)
             gtk_widget_destroy(PopUpMenu);
         }
 
-        PopUpMenu = CreatePopUpMenu((int)param);
+        PopUpMenu = CreatePopUpMenu((intptr_t)param);
         gtk_menu_popup(GTK_MENU(PopUpMenu), NULL, NULL, NULL, NULL, 0, 0);
         break;
 


More information about the MPlayer-cvslog mailing list