Commit 981470e3 authored by Philipp Stephani's avatar Philipp Stephani

* src/lisp.h (INTEGER_TO_INT): Fix bug.

parent 11e75b03
Pipeline #1408 failed with stage
in 90 minutes and 2 seconds
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment