0
0
mirror of https://github.com/vim/vim.git synced 2025-10-13 06:54:15 -04:00

Avoid compiler warnings.

This commit is contained in:
Bram Moolenaar
2010-06-06 23:04:47 +02:00
parent debe25a2a5
commit 9d6650f6c4
6 changed files with 22 additions and 18 deletions

View File

@@ -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;
}