aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12
diff options
context:
space:
mode:
Diffstat (limited to 'Linux_C_12')
-rw-r--r--Linux_C_12/cCrossCallMenus_121.c2
-rw-r--r--Linux_C_12/cCrossCallWindows_121.c2
-rw-r--r--Linux_C_12/cCrossCallxDI_121.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/Linux_C_12/cCrossCallMenus_121.c b/Linux_C_12/cCrossCallMenus_121.c
index 8ca3cda..d3ae18e 100644
--- a/Linux_C_12/cCrossCallMenus_121.c
+++ b/Linux_C_12/cCrossCallMenus_121.c
@@ -162,7 +162,7 @@ void EvalCcRqINSERTMENUITEM (CrossCallInfo *pcci)
}
*/
printf("Creating return Cci\n");
- MakeReturn1Cci (pcci, (int) menu_item);
+ MakeReturn1Cci (pcci, (int64_t) menu_item);
}
/* Cross call procedure implementations.
diff --git a/Linux_C_12/cCrossCallWindows_121.c b/Linux_C_12/cCrossCallWindows_121.c
index 9950a52..93112ea 100644
--- a/Linux_C_12/cCrossCallWindows_121.c
+++ b/Linux_C_12/cCrossCallWindows_121.c
@@ -893,7 +893,7 @@ void EvalCcRqGETWINDOWTEXT (CrossCallInfo *pcci) /* hwnd; textptr result. */
if (GTK_IS_BUTTON(window))
{
- textptr = createMnemonicString(title);
+ textptr = createMnemonicString((gchar*) title);
} else {
textptr = g_strdup(title);
}
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);
}