diff options
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r-- | src/gui_motif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c index 421733933..1693df974 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -2538,7 +2538,7 @@ gui_mch_dialog( for (p = buts; *p; ++p) if (*p == DLG_BUTTON_SEP) ++butcount; - buttons = (Widget *)alloc((unsigned)(butcount * sizeof(Widget))); + buttons = (Widget *)alloc(butcount * sizeof(Widget)); if (buttons == NULL) { vim_free(buts); |