diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-16 19:08:24 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-16 19:08:24 +0000 |
commit | dd1c482ea7f44c0128d910db77d87ef44b1a0c6a (patch) | |
tree | ee8f44add4b8f67770eaf7c596223e81ca6595f5 /src/bytecode.c | |
parent | ed50d28bb1ffcceab38956151b989a935b01582a (diff) | |
download | emacs-dd1c482ea7f44c0128d910db77d87ef44b1a0c6a.tar.gz |
(Fbyte_code): For relative gotos, force signed arithmetic.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r-- | src/bytecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 3221970ccac..4fb6d86bb69 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -475,14 +475,14 @@ If the third argument is incorrect, Emacs may crash.") case BRgoto: QUIT; - pc += *pc - 127; + pc += (int) *pc - 127; break; case BRgotoifnil: if (NILP (POP)) { QUIT; - pc += *pc - 128; + pc += (int) *pc - 128; } pc++; break; @@ -491,7 +491,7 @@ If the third argument is incorrect, Emacs may crash.") if (!NILP (POP)) { QUIT; - pc += *pc - 128; + pc += (int) *pc - 128; } pc++; break; |