diff src/gui_athena.c @ 2255:e5265e4d4725 vim73

Avoid compiler warnings.
author Bram Moolenaar <bram@vim.org>
date Sun, 06 Jun 2010 23:04:47 +0200
parents fc89a4f98a8b
children 6768ebd0bc04
line wrap: on
line diff
--- a/src/gui_athena.c
+++ b/src/gui_athena.c
@@ -1270,7 +1270,7 @@ gui_mch_add_menu_item(menu, idx)
 		return;
 
 	    /* If there are other "pulldown" items in this pane, then adjust
-	     * the right margin to accomodate the arrow pixmap, otherwise
+	     * the right margin to accommodate the arrow pixmap, otherwise
 	     * the right margin will be the same as the left margin.
 	     */
 	    {
@@ -2254,7 +2254,7 @@ gui_mch_dialog(type, title, message, but
 		    vertical ? XtNfromVert : XtNfromHoriz, prev_dialogButton,
 		    NULL);
 
-	XtAddCallback(dialogButton, XtNcallback, butproc, (XtPointer)butcount);
+	XtAddCallback(dialogButton, XtNcallback, butproc, (XtPointer)(long_u)butcount);
 	p = next;
 	prev_dialogButton = dialogButton;
     }