1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00

* bytecode.c (exec_byte_code): Use ptrdiff_t, not int, for vector length.

This commit is contained in:
Paul Eggert 2011-06-14 13:12:13 -07:00
parent 4a2f0ad6c1
commit 80e88859ec
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-06-14 Paul Eggert <eggert@cs.ucla.edu>
* bytecode.c (exec_byte_code): Use ptrdiff_t, not int, for vector length.
* eval.c, doprnt.c (SIZE_MAX): Remove; inttypes.h defines this now.
Variadic C functions now count arguments with ptrdiff_t.

View file

@ -444,7 +444,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
/* Lisp_Object v1, v2; */
Lisp_Object *vectorp;
#ifdef BYTE_CODE_SAFE
int const_length;
ptrdiff_t const_length;
Lisp_Object *stacke;
int bytestr_length;
#endif