diff options
| author | Paul Eggert | 2012-08-24 20:11:12 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-24 20:11:12 -0700 |
| commit | 2f221583cf4a4b412c16260d148b59931b12455a (patch) | |
| tree | 8525d0d67da67946b809c470aa2c4387bf10697a /src/bytecode.c | |
| parent | aa0ecd9449986eacd07989f599739902dcaacc49 (diff) | |
| download | emacs-2f221583cf4a4b412c16260d148b59931b12455a.tar.gz emacs-2f221583cf4a4b412c16260d148b59931b12455a.zip | |
* bytecode.c, callint.c, callproc.c: Use bool for boolean.
* bytecode.c (exec_byte_code):
* callint.c (check_mark, Fcall_interactively):
* callproc.c (Fcall_process, add_env, child_setup, getenv_internal_1)
(getenv_internal, sync_process_alive, call_process_exited):
* lisp.h (USE_SAFE_ALLOCA):
Use bool for booleans, instead of int.
* lisp.h, process.h: Adjust prototypes to match above changes.
* callint.c (Fcall_interactively): Don't assume the mark's
offset fits in 'int'.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 5ac8b4fa2bd..753f149ae01 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -553,7 +553,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 553 | if (INTEGERP (args_template)) | 553 | if (INTEGERP (args_template)) |
| 554 | { | 554 | { |
| 555 | ptrdiff_t at = XINT (args_template); | 555 | ptrdiff_t at = XINT (args_template); |
| 556 | int rest = at & 128; | 556 | bool rest = (at & 128) != 0; |
| 557 | int mandatory = at & 127; | 557 | int mandatory = at & 127; |
| 558 | ptrdiff_t nonrest = at >> 8; | 558 | ptrdiff_t nonrest = at >> 8; |
| 559 | eassert (mandatory <= nonrest); | 559 | eassert (mandatory <= nonrest); |