Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
619e0f19
Commit
619e0f19
authored
Oct 07, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bytecode.c (exec_byte_code): Do not unnecessarily grow ptrdiff_t to EMACS_INT.
parent
41ec903a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/bytecode.c
src/bytecode.c
+3
-3
No files found.
src/bytecode.c
View file @
619e0f19
...
...
@@ -503,14 +503,14 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
if
(
INTEGERP
(
args_template
))
{
EMACS_INT
at
=
XINT
(
args_template
);
ptrdiff_t
at
=
XINT
(
args_template
);
int
rest
=
at
&
128
;
int
mandatory
=
at
&
127
;
EMACS_INT
nonrest
=
at
>>
8
;
ptrdiff_t
nonrest
=
at
>>
8
;
eassert
(
mandatory
<=
nonrest
);
if
(
nargs
<=
nonrest
)
{
EMACS_INT
i
;
ptrdiff_t
i
;
for
(
i
=
0
;
i
<
nargs
;
i
++
,
args
++
)
PUSH
(
*
args
);
if
(
nargs
<
mandatory
)
...
...
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