diff options
| author | Paul Eggert | 2011-06-21 14:32:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-21 14:32:10 -0700 |
| commit | b081724f64cbb2bf1f12efdb4d446c1de9bf3c0c (patch) | |
| tree | 00f145722fcbfb737a464ee83fbae70be8d6a4b4 /src/ChangeLog | |
| parent | 3de73e5ee550ff9715e3c6034b2575a4386cf331 (diff) | |
| download | emacs-b081724f64cbb2bf1f12efdb4d446c1de9bf3c0c.tar.gz emacs-b081724f64cbb2bf1f12efdb4d446c1de9bf3c0c.zip | |
Use ptrdiff_t, not int, for overlay counts.
* buffer.h (overlays_at, sort_overlays, GET_OVERLAYS_AT):
* editfns.c (overlays_around, get_pos_property):
* textprop.c (get_char_property_and_overlay):
* xdisp.c (next_overlay_change, note_mouse_highlight):
* xfaces.c (face_at_buffer_position):
* buffer.c (overlays_at, sort_overlays, Foverlays_at)
(Fnext_overlay_change, Fprevious_overlay_change):
Use ptrdiff_t, not int, for sizes.
(overlays_at): Check for size-calculation overflow.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 41b2fe9aab0..875dcb85168 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Use ptrdiff_t, not int, for overlay counts. | ||
| 4 | * buffer.h (overlays_at, sort_overlays, GET_OVERLAYS_AT): | ||
| 5 | * editfns.c (overlays_around, get_pos_property): | ||
| 6 | * textprop.c (get_char_property_and_overlay): | ||
| 7 | * xdisp.c (next_overlay_change, note_mouse_highlight): | ||
| 8 | * xfaces.c (face_at_buffer_position): | ||
| 9 | * buffer.c (overlays_at, sort_overlays, Foverlays_at) | ||
| 10 | (Fnext_overlay_change, Fprevious_overlay_change): | ||
| 11 | Use ptrdiff_t, not int, for sizes. | ||
| 12 | (overlays_at): Check for size-calculation overflow. | ||
| 13 | |||
| 3 | * xterm.c (xim_initialize, same_x_server): Strlen may not fit in int. | 14 | * xterm.c (xim_initialize, same_x_server): Strlen may not fit in int. |
| 4 | 15 | ||
| 5 | * xsmfns.c (smc_save_yourself_CB, x_session_initialize): Avoid strlen. | 16 | * xsmfns.c (smc_save_yourself_CB, x_session_initialize): Avoid strlen. |