diff options
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r-- | src/gui_gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 126eaf06d..853706027 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -559,7 +559,7 @@ translate_mnemonic_tag(char_u *name, int use_mnemonic) if (*psrc == '_') ++n_underscores; - buf = alloc((unsigned)(psrc - name + n_underscores + 1)); + buf = alloc(psrc - name + n_underscores + 1); if (buf != NULL) { pdest = buf; |