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 1693df974d..875df500c6 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(butcount * sizeof(Widget)); + buttons = ALLOC_MULT(Widget, butcount); if (buttons == NULL) { vim_free(buts); |