Minor improvements to make_formatted_string.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Jul 2012 16:06:19 +0000 (09:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Jul 2012 16:06:19 +0000 (09:06 -0700)
commit26bccfaebf452511a06c2b19414a73b041b17853
treee42f399529ee0787a7ee5fee9b47f0de898f4245
parent52331d2c41bf325fd1b22764fdc230d92b68ab85
Minor improvements to make_formatted_string.

* alloc.c (make_formatted_string): Prefer int to ptrdiff_t
where int is good enough, as vsprintf returns an int.
* lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF.
src/ChangeLog
src/alloc.c
src/lisp.h