diff options
| author | Paul Eggert | 2011-07-19 14:39:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-19 14:39:36 -0700 |
| commit | ebfa62c01481332072f519581aaf4d8d7da49e68 (patch) | |
| tree | c62f6a866f44165112999f66f5ca7e5f30dc2af3 /src/ChangeLog | |
| parent | 63cf7836ae7616ce91d7eeaeac997d71609e191b (diff) | |
| download | emacs-ebfa62c01481332072f519581aaf4d8d7da49e68.tar.gz emacs-ebfa62c01481332072f519581aaf4d8d7da49e68.zip | |
Use ptrdiff_t for composition IDs.
* character.c (lisp_string_width):
* composite.c (composition_table_size, n_compositions)
(get_composition_id, composition_gstring_from_id):
* dispextern.h (struct glyph_string.cmp_id, struct composition_it.id):
* xdisp.c (BUILD_COMPOSITE_GLYPH_STRING):
* window.c (Frecenter):
Use ptrdiff_t, not int, for composition IDs.
* composite.c (get_composition_id): Check for integer overflow.
* composite.h: Adjust prototypes to match the above changes.
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 30af92a57e9..b3125b2c183 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2011-07-19 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-19 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Use ptrdiff_t for composition IDs. | ||
| 4 | * character.c (lisp_string_width): | ||
| 5 | * composite.c (composition_table_size, n_compositions) | ||
| 6 | (get_composition_id, composition_gstring_from_id): | ||
| 7 | * dispextern.h (struct glyph_string.cmp_id, struct composition_it.id): | ||
| 8 | * xdisp.c (BUILD_COMPOSITE_GLYPH_STRING): | ||
| 9 | * window.c (Frecenter): | ||
| 10 | Use ptrdiff_t, not int, for composition IDs. | ||
| 11 | * composite.c (get_composition_id): Check for integer overflow. | ||
| 12 | * composite.h: Adjust prototypes to match the above changes. | ||
| 13 | |||
| 3 | Use ptrdiff_t for hash table indexes. | 14 | Use ptrdiff_t for hash table indexes. |
| 4 | * category.c (hash_get_category_set): | 15 | * category.c (hash_get_category_set): |
| 5 | * ccl.c (ccl_driver): | 16 | * ccl.c (ccl_driver): |