--- np2/x11/gtk2/dialog_sound.c 2011/01/15 16:55:37 1.10 +++ np2/x11/gtk2/dialog_sound.c 2012/01/23 05:12:35 1.13 @@ -1,5 +1,3 @@ -/* $Id: dialog_sound.c,v 1.10 2011/01/15 16:55:37 monaka Exp $ */ - /* * Copyright (c) 2002-2004 NONAKA Kimihiro * All rights reserved. @@ -269,7 +267,7 @@ static const char *joypad_num_str[256] = "248", "249", "250", "251", "252", "253", "254", "255", }; -static const joymng_devinfo_t **joypad_devlist; +static joymng_devinfo_t **joypad_devlist; static GtkWidget *joypad_use_checkbutton[1]; static GtkWidget *joypad_devlist_combo; static GtkWidget *joypad_axis_combo[JOY_NAXIS]; @@ -656,7 +654,7 @@ static void driver_radiobutton_clicked(GtkButton *b, gpointer d) { - driver_snddrv = (int)d; + driver_snddrv = GPOINTER_TO_UINT(d); } static GtkWidget *