[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 981470e: * src/lisp.h (INTEGER_TO_INT): Fix bug.
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 981470e: * src/lisp.h (INTEGER_TO_INT): Fix bug. |
Date: |
Mon, 22 Apr 2019 13:05:02 -0400 (EDT) |
branch: master
commit 981470e3590534a4d2947dfe5626cae832c6502d
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
* 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 8510ad7..ee5a848 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 981470e: * src/lisp.h (INTEGER_TO_INT): Fix bug.,
Philipp Stephani <=