diff options
| author | Philipp Stephani | 2019-04-22 18:58:51 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2019-04-22 19:04:54 +0200 |
| commit | 981470e3590534a4d2947dfe5626cae832c6502d (patch) | |
| tree | ee6a821dab80ac5ea1d5bd72a9a995c5e6491cb6 /src | |
| parent | 11e75b031baad4305b2a6fd52dc43d11d65c7dc5 (diff) | |
| download | emacs-981470e3590534a4d2947dfe5626cae832c6502d.tar.gz emacs-981470e3590534a4d2947dfe5626cae832c6502d.zip | |
* src/lisp.h (INTEGER_TO_INT): Fix bug.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8510ad72564..ee5a8481ae8 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2645,7 +2645,7 @@ make_uint (uintmax_t n) | |||
| 2645 | #define INTEGER_TO_INT(num, type) \ | 2645 | #define INTEGER_TO_INT(num, type) \ |
| 2646 | (TYPE_SIGNED (type) \ | 2646 | (TYPE_SIGNED (type) \ |
| 2647 | ? ranged_integer_to_int ((num), TYPE_MINIMUM (type), TYPE_MAXIMUM (type)) \ | 2647 | ? ranged_integer_to_int ((num), TYPE_MINIMUM (type), TYPE_MAXIMUM (type)) \ |
| 2648 | : ranged_integer_to_uint ((num), TYPE_MINIMUM (type))) | 2648 | : ranged_integer_to_uint ((num), TYPE_MAXIMUM (type))) |
| 2649 | 2649 | ||
| 2650 | 2650 | ||
| 2651 | /* Forwarding pointer to an int variable. | 2651 | /* Forwarding pointer to an int variable. |