aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorPaul Eggert2017-02-10 08:34:57 -0800
committerPaul Eggert2017-02-10 08:36:42 -0800
commitabcba32c262e575b562ec0e481e55538536f969f (patch)
treef873cc4c0190d9e4d77439031eeade3a9a59dc34 /src/dispextern.h
parentcef233eeb8366580f76e8324695e6f964cb160d0 (diff)
downloademacs-abcba32c262e575b562ec0e481e55538536f969f.tar.gz
emacs-abcba32c262e575b562ec0e481e55538536f969f.zip
Fix a few integer-overflow glitches
* src/composite.c (composition_compute_stop_pos, composition_reseat_it): * src/dispextern.h (struct composition_it.rule_idx): * src/keyboard.c (Fset__this_command_keys): * src/xwidget.c (webkit_js_to_lisp): Don’t assume object sizes fit in ‘int’. * src/xwidget.c (Fxwidget_resize): Don’t assume Emacs integers fit in ‘int’.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index eb71a82311c..e030618a9b7 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2215,7 +2215,7 @@ struct composition_it
2215 the automatic composition. Provided that ELT is an element of 2215 the automatic composition. Provided that ELT is an element of
2216 Vcomposition_function_table for CH, (nth ELT RULE_IDX) is the 2216 Vcomposition_function_table for CH, (nth ELT RULE_IDX) is the
2217 rule for the composition. */ 2217 rule for the composition. */
2218 int rule_idx; 2218 EMACS_INT rule_idx;
2219 /* If this is an automatic composition, how many characters to look 2219 /* If this is an automatic composition, how many characters to look
2220 back from the position where a character triggering the 2220 back from the position where a character triggering the
2221 composition exists. */ 2221 composition exists. */