diff options
| author | Paul Eggert | 2024-01-28 00:15:38 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-01-28 00:26:44 -0800 |
| commit | ad2c81082a62f9f781e4f5771fc223520d91cefd (patch) | |
| tree | 7abd8b081eb665e84cb127e0c5396fa7df453bb4 /src/alloc.c | |
| parent | a3d7092114db09fee392ccc8187fde03376f2089 (diff) | |
| download | emacs-ad2c81082a62f9f781e4f5771fc223520d91cefd.tar.gz emacs-ad2c81082a62f9f781e4f5771fc223520d91cefd.zip | |
Prefer C23 ckd_* to Gnulib *_WRAPV and *_OK macros
* src/alloc.c (android_make_lisp_symbol) [HAVE_ANDROID && !__clang__]:
* src/android.c (android_blit_copy, android_blit_xor)
(android_get_image):
* src/androidmenu.c (android_menu_show):
* src/androidselect.c (Fandroid_get_clipboard_data)
(android_notifications_notify_1):
* src/androidterm.c (android_decode_utf16)
(android_text_to_string):
* src/haiku_select.cc (be_display_notification):
* src/sfnt.c (sfnt_read_cmap_format_8, sfnt_read_cmap_format_12)
(sfnt_read_cmap_format_14, sfnt_read_cmap_table_1)
(sfnt_expand_compound_glyph_context, sfnt_poly_edges_exact)
(sfnt_read_meta_table, sfnt_read_ttc_header)
(sfnt_read_cvt_table, sfnt_read_fpgm_table)
(sfnt_read_prep_table, sfnt_make_interpreter)
(sfnt_interpret_simple_glyph, sfnt_interpret_compound_glyph_2)
(sfnt_interpret_compound_glyph, sfnt_read_default_uvs_table)
(sfnt_read_nondefault_uvs_table, sfnt_create_uvs_context)
(sfnt_read_fvar_table, sfnt_read_gvar_table)
(sfnt_read_avar_table, sfnt_read_cvar_table):
* src/sfntfont-android.c (GET_SCANLINE_BUFFER):
* src/textconv.c (really_commit_text, really_set_composing_text)
(really_replace_text, get_surrounding_text):
Prefer C2x stdckdint.h macros to intprops.h macros.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index b144396948e..15bb65cf74f 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6291,8 +6291,7 @@ android_make_lisp_symbol (struct Lisp_Symbol *sym) | |||
| 6291 | intptr_t symoffset; | 6291 | intptr_t symoffset; |
| 6292 | 6292 | ||
| 6293 | symoffset = (intptr_t) sym; | 6293 | symoffset = (intptr_t) sym; |
| 6294 | INT_SUBTRACT_WRAPV (symoffset, (intptr_t) &lispsym, | 6294 | ckd_sub (&symoffset, symoffset, (intptr_t) &lispsym); |
| 6295 | &symoffset); | ||
| 6296 | 6295 | ||
| 6297 | { | 6296 | { |
| 6298 | Lisp_Object a = TAG_PTR_INITIALLY (Lisp_Symbol, symoffset); | 6297 | Lisp_Object a = TAG_PTR_INITIALLY (Lisp_Symbol, symoffset); |