freebsd-ports/games/znibbles/files/patch-src_Motif_menus.C
Mathieu Arnold 40be09797f Unbreak.
Regen patches.

PR:		208709
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-04-12 15:05:30 +00:00

20 lines
530 B
C

--- src/Motif/menus.C.orig 1999-04-14 14:50:14 UTC
+++ src/Motif/menus.C
@@ -52,7 +52,7 @@ void Menus::file_handler(Widget w, XtPoi
{
w = w; cbs = cbs;
- switch( (int) client_data) {
+ switch( (unsigned long) client_data) {
case ItemFileQuit:
quit();
break;
@@ -64,7 +64,7 @@ void Menus::help_handler(Widget w, XtPoi
{
w = w; cbs = cbs;
- switch( (int) client_data) {
+ switch( (unsigned long) client_data) {
case ItemHelpAbout:
if (NULL != mythis->about)
mythis->about->show_dialog();