From 981470e3590534a4d2947dfe5626cae832c6502d Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 22 Apr 2019 18:58:51 +0200 Subject: [PATCH] * src/lisp.h (INTEGER_TO_INT): Fix bug. --- src/lisp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2