diff options
| author | Paul Eggert | 2011-07-07 15:14:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-07 15:14:22 -0700 |
| commit | dfd153ae803962a5eaffe8a65e77f749c0574edf (patch) | |
| tree | 805e38cc8bd718dadc992e7abc62350e1aeedcae /src/buffer.c | |
| parent | a81d11a3efb4d511c5c34c8983dc6aab5d619ea1 (diff) | |
| download | emacs-dfd153ae803962a5eaffe8a65e77f749c0574edf.tar.gz emacs-dfd153ae803962a5eaffe8a65e77f749c0574edf.zip | |
* dispnew.c: Integer signedness and overflow fixes.
Remove unnecessary forward decls, that were a maintenance hassle.
(history_tick): Now uprintmax_t, so it's more likely to avoid overflow.
All uses changed.
(adjust_glyph_matrix, realloc_glyph_pool, adjust_frame_message_buffer)
(scrolling_window): Use ptrdiff_t, not int, for byte count.
(prepare_desired_row, line_draw_cost):
Use int, not unsigned, where either works.
(save_current_matrix, restore_current_matrix):
Use ptrdiff_t, not size_t, where either works.
(init_display): Check for overflow more accurately, and without
relying on undefined behavior.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions