diff options
author | Camil Staps | 2015-08-12 12:23:21 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-12 12:23:21 +0200 |
commit | ffce6a8e607c3e103311e8f7f6f51d41059f7585 (patch) | |
tree | 81ddf8d19457ede491960f20df5f89cd15d625b0 /Linux_C_12/cCrossCallxDI_121.c | |
parent | Merge branch 'master' of github:camilstaps/ObjectIO (diff) |
Removed some casting warnings
Diffstat (limited to 'Linux_C_12/cCrossCallxDI_121.c')
-rw-r--r-- | Linux_C_12/cCrossCallxDI_121.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Linux_C_12/cCrossCallxDI_121.c b/Linux_C_12/cCrossCallxDI_121.c index 631c33d..9fcd617 100644 --- a/Linux_C_12/cCrossCallxDI_121.c +++ b/Linux_C_12/cCrossCallxDI_121.c @@ -554,18 +554,18 @@ void EvalCcRqCREATETOOLBARITEM (CrossCallInfo *pcci) {
GtkWidget *toolbar;
GdkPixbuf *pixbuf;
- gint index;
+ gpointer index;
printf("EvalCcRqCREATETOOLBARITEM\n");
if (pcci->p1 && (pcci->p1 != OS_NO_WINDOW_PTR))
{
toolbar = GTK_WIDGET(pcci->p1);
pixbuf = GDK_PIXBUF(pcci->p2);
- index = pcci->p3;
+ index = (gpointer) pcci->p3;
gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), NULL, NULL, NULL,
gtk_image_new_from_pixbuf(pixbuf),
- GTK_SIGNAL_FUNC(toolbar_handler), (gpointer) index);
+ GTK_SIGNAL_FUNC(toolbar_handler), index);
}
MakeReturn0Cci (pcci);
}
|