aboutsummaryrefslogtreecommitdiffstats
path: root/exec
diff options
context:
space:
mode:
authorPo Lu2024-02-11 10:00:33 +0800
committerPo Lu2024-02-11 10:01:31 +0800
commite67e7185ce81e59c90741f92c2ba3209412f417e (patch)
treeed4a3db6efaeb3fca98df1e0e36be8b048054741 /exec
parent7a0ee5d65f214102734dd22edb641b164a1b73af (diff)
downloademacs-e67e7185ce81e59c90741f92c2ba3209412f417e.tar.gz
emacs-e67e7185ce81e59c90741f92c2ba3209412f417e.zip
Fix signed/unsigned promotion errors involving Emacs_Rectangle
* src/androidterm.c (android_note_mouse_movement): * src/pgtkterm.c (note_mouse_movement): * src/xdisp.c (get_glyph_string_clip_rects, remember_mouse_glyph) (expose_area, expose_window, gui_intersect_rectangles): Cast width or height fields in Emacs_Rectangles to int before summing with or subtracting them from their coordinate fields, as they are unsigned outside X, and the sign of the coordinates is thus not preserved.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions