diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-22 01:59:50 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-22 01:59:50 -0700 |
commit | 916c72e97a711e6d0f571a507634e4f795fbaf6c (patch) | |
tree | 3d10d5808cde176bfe6d700bd60702c341460ef4 /src/xmenu.c | |
parent | b7cbbd6f018241962b432c1a608067614d223a6d (diff) | |
download | emacs-916c72e97a711e6d0f571a507634e4f795fbaf6c.tar.gz |
* xmenu.c (set_frame_menubar): Use EMACS_UINT, not int, for indexes
that could (at least in theory) be that large.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index eab7bb03f20..60ac27a5b8f 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -922,7 +922,7 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p) #endif Lisp_Object items; widget_value *wv, *first_wv, *prev_wv = 0; - int i, last_i = 0; + EMACS_UINT i, last_i = 0; int *submenu_start, *submenu_end; int *submenu_top_level_items, *submenu_n_panes; |