diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-06 23:04:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-06 23:04:47 +0200 |
commit | 9d6650f6c443985a83df3b3415eb42137e613f1f (patch) | |
tree | c2be6cc387cde90c14d77e0173b91eff3d5bb45f /src/gui_athena.c | |
parent | debe25a2a58f32a8301765c8c503c457ced3965d (diff) | |
download | vim-git-9d6650f6c443985a83df3b3415eb42137e613f1f.tar.gz |
Avoid compiler warnings.
Diffstat (limited to 'src/gui_athena.c')
-rw-r--r-- | src/gui_athena.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_athena.c b/src/gui_athena.c index f5b8f70f9..ffb65ae2f 100644 --- 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, buttons, dfltbutton, textfield) 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; } |