mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-30 23:52:13 +00:00
Again, use intptr_t when casting from gpointer to int.
This commit is contained in:
parent
a6fbf511a2
commit
0dae745694
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ static void dialog_button_callback( GtkWidget *widget, gpointer data ){
|
||||||
ret = (int*)g_object_get_data( G_OBJECT( parent ), "ret" );
|
ret = (int*)g_object_get_data( G_OBJECT( parent ), "ret" );
|
||||||
|
|
||||||
*loop = 0;
|
*loop = 0;
|
||||||
*ret = (int)data;
|
*ret = (intptr_t)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer data ){
|
static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer data ){
|
||||||
|
|
Loading…
Reference in a new issue