Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
80e88859
Commit
80e88859
authored
Jun 14, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bytecode.c (exec_byte_code): Use ptrdiff_t, not int, for vector length.
parent
4a2f0ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/bytecode.c
src/bytecode.c
+1
-1
No files found.
src/ChangeLog
View file @
80e88859
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.
...
...
src/bytecode.c
View file @
80e88859
...
...
@@ -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
in
t
const_length
;
ptrdiff_
t
const_length
;
Lisp_Object
*
stacke
;
int
bytestr_length
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment