From: Philipp Stephani Date: Mon, 22 Apr 2019 16:58:51 +0000 (+0200) Subject: * src/lisp.h (INTEGER_TO_INT): Fix bug. X-Git-Tag: emacs-27.0.90~3136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=981470e3590534a4d2947dfe5626cae832c6502d;p=emacs.git * src/lisp.h (INTEGER_TO_INT): Fix bug. --- 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) #define INTEGER_TO_INT(num, type) \ (TYPE_SIGNED (type) \ ? ranged_integer_to_int ((num), TYPE_MINIMUM (type), TYPE_MAXIMUM (type)) \ - : ranged_integer_to_uint ((num), TYPE_MINIMUM (type))) + : ranged_integer_to_uint ((num), TYPE_MAXIMUM (type))) /* Forwarding pointer to an int variable.