diff options
| author | Paul Eggert | 2011-05-22 17:31:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-22 17:31:35 -0700 |
| commit | c11285dca1ee2896b487fe03408a4c7c356b6d5b (patch) | |
| tree | 2a1bf07e0164ef9cf905516bb88f3bd80c2387fa /src | |
| parent | fdccd48e6df31841616ae7a2d98f187e8a0c403c (diff) | |
| download | emacs-c11285dca1ee2896b487fe03408a4c7c356b6d5b.tar.gz emacs-c11285dca1ee2896b487fe03408a4c7c356b6d5b.zip | |
* alloc.c (make_event_array): Use XINT, not XUINT.
There's no need for unsigned here.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/alloc.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 725c6642746..f6a6c21c25c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-05-23 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * alloc.c (make_event_array): Use XINT, not XUINT. | ||
| 4 | There's no need for unsigned here. | ||
| 5 | |||
| 3 | * mem-limits.h (EXCEEDS_LISP_PTR) [!USE_LSB_TAG]: EMACS_UINT -> uintptr_t | 6 | * mem-limits.h (EXCEEDS_LISP_PTR) [!USE_LSB_TAG]: EMACS_UINT -> uintptr_t |
| 4 | This follows up to the 2011-05-06 change that substituted uintptr_t | 7 | This follows up to the 2011-05-06 change that substituted uintptr_t |
| 5 | for EMACS_INT. This case wasn't caught back then. | 8 | for EMACS_INT. This case wasn't caught back then. |
diff --git a/src/alloc.c b/src/alloc.c index 71ab54bcab5..3f7bed571c7 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -3244,7 +3244,7 @@ make_event_array (register int nargs, Lisp_Object *args) | |||
| 3244 | are characters that are in 0...127, | 3244 | are characters that are in 0...127, |
| 3245 | after discarding the meta bit and all the bits above it. */ | 3245 | after discarding the meta bit and all the bits above it. */ |
| 3246 | if (!INTEGERP (args[i]) | 3246 | if (!INTEGERP (args[i]) |
| 3247 | || (XUINT (args[i]) & ~(-CHAR_META)) >= 0200) | 3247 | || (XINT (args[i]) & ~(-CHAR_META)) >= 0200) |
| 3248 | return Fvector (nargs, args); | 3248 | return Fvector (nargs, args); |
| 3249 | 3249 | ||
| 3250 | /* Since the loop exited, we know that all the things in it are | 3250 | /* Since the loop exited, we know that all the things in it are |