diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2024-07-20 09:03:24 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2024-07-20 16:16:22 -0700 |
commit | 76497a01425e19a6c3a02c1e3031061fa0e7885b (patch) | |
tree | d9cf4afc0759ce82ccdcc622d7eeac097e107cc6 /lisp/emacs-lisp/regexp-opt.el | |
parent | 55fefe06ef00cbe3e27a111a229a2622ae487c74 (diff) | |
download | emacs-76497a01425e19a6c3a02c1e3031061fa0e7885b.tar.gz emacs-76497a01425e19a6c3a02c1e3031061fa0e7885b.tar.bz2 emacs-76497a01425e19a6c3a02c1e3031061fa0e7885b.zip |
Change list-length intptr_t to ptrdiff_t
* src/fns.c (list_length, Fsafe_length, Fproper_list_p):
Use ptrdiff_t not intptr_t for accumulator, since result is ptrdiff_t.
This fixes a minor glitch in 2019-01-11T05:35:31!eggert@cs.ucla.edu
where I removed unnecessary overflow checks but forgot to change types.
This change should alter generated code only on oddball platforms where
ptrdiff_t is narrower than intptr_t, e.g., CheriBSD.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions