aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-06 19:14:52 -0700
committerPaul Eggert2011-07-06 19:14:52 -0700
commitc2d1e36da89642b8916965a967b000aff7d59099 (patch)
tree6cb72d08c40607a35d1b7a70ee2c31b030c37737 /src/alloc.c
parent0e926e561c259468174b16407dd7271c2c8fe904 (diff)
downloademacs-c2d1e36da89642b8916965a967b000aff7d59099.tar.gz
emacs-c2d1e36da89642b8916965a967b000aff7d59099.zip
* doprnt.c: Prefer signed to unsigned when either works.
* eval.c (verror): * doprnt.c (doprnt): * lisp.h (doprnt): * xdisp.c (vmessage): Use ptrdiff_t, not size_t, when using or implementing doprnt, since the sizes cannot exceed ptrdiff_t bounds anyway, and we prefer signed arithmetic to avoid comparison confusion. * doprnt.c (doprnt): Avoid a "+ 1" that can't overflow, but is a bit tricky.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions