diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-08-26 14:31:50 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-08-26 14:31:50 -0700 |
commit | f462f0750f4cd3537ab1da5cf8ed64e08e55ea46 (patch) | |
tree | 8bc31880fcaa044d09553dea12cbb846fda22b33 /src/nsmenu.m | |
parent | 068f9124b4cb785f1743f2b50884f819d9d34f47 (diff) | |
download | emacs-f462f0750f4cd3537ab1da5cf8ed64e08e55ea46.tar.gz |
Fix minor problems found by static checking.
* image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static.
(expect): Avoid nested-if warning.
(x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning.
* nsmenu.m (fillWithWidgetValue:): Avoid type warning.
* nsterm.h, nsterm.m (ns_select):
* xgselect.c, xgselect.h (xg_select):
Adjust signature to better match pselect's.
* nsterm.m (ns_select):
Don't set *TIMEOUT, since pselect doesn't.
* regex.c (whitespace_regexp): Now const_re_char *, to avoid
diagnostic about assigning const char * to it.
* xfaces.c (x_display_info) [HAVE_NS]: Remove; unused.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r-- | src/nsmenu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 5af813ac758..7fe84343f1c 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -730,7 +730,7 @@ extern NSString *NSMenuDidBeginTrackingNotification; - (void)fillWithWidgetValue: (void *)wvptr { - [self fillWithWidgetValue: wvptr frame:nil]; + [self fillWithWidgetValue: wvptr frame: (struct frame *)nil]; } - (void)fillWithWidgetValue: (void *)wvptr frame: (struct frame *)f |