diff options
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 0ac1e1933fd..8b870119315 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1361,7 +1361,7 @@ EQ (Lisp_Object x, Lisp_Object y) | |||
| 1361 | INLINE intmax_t | 1361 | INLINE intmax_t |
| 1362 | clip_to_bounds (intmax_t lower, intmax_t num, intmax_t upper) | 1362 | clip_to_bounds (intmax_t lower, intmax_t num, intmax_t upper) |
| 1363 | { | 1363 | { |
| 1364 | return num < lower ? lower : min (num, upper); | 1364 | return max (lower, min (num, upper)); |
| 1365 | } | 1365 | } |
| 1366 | 1366 | ||
| 1367 | /* Construct a Lisp_Object from a value or address. */ | 1367 | /* Construct a Lisp_Object from a value or address. */ |