diff options
| author | Paul Eggert | 2011-07-06 19:14:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-06 19:14:52 -0700 |
| commit | c2d1e36da89642b8916965a967b000aff7d59099 (patch) | |
| tree | 6cb72d08c40607a35d1b7a70ee2c31b030c37737 /src/alloc.c | |
| parent | 0e926e561c259468174b16407dd7271c2c8fe904 (diff) | |
| download | emacs-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