From 3e984ee810066a79ef57bbb82c925bcdd70bd334 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Fri, 29 Jun 2012 06:19:32 +0400 Subject: [PATCH] * editfns.c (region_limit): Fix type mismatch. --- src/ChangeLog | 4 ++++ src/editfns.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b7a1da9cd57..09fc8fbfda2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-06-29 Dmitry Antipov + + * editfns.c (region_limit): Fix type mismatch. + 2012-06-29 Dmitry Antipov * nsfns.m: Fix GLYPH_DEBUG usage assuming that it may be diff --git a/src/editfns.c b/src/editfns.c index e8f55c9427b..4c3b80be14a 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -287,7 +287,7 @@ region_limit (int beginningp) else { /* Clip to the current narrowing (bug#11770). */ ptrdiff_t mark = XFASTINT (m); - return make_number (mark < BEGV ? BEGV : mark > ZV ? ZV : m); + return make_number (mark < BEGV ? BEGV : mark > ZV ? ZV : mark); } } -- 2.39.2