From 45b248b417774953f55c2c3d2b78e7f1df986078 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 1996 19:50:56 +0000 Subject: [PATCH] (search_buffer): Use EMACS_UINT. --- src/search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.c b/src/search.c index bfc5add20d7..6f4355f5b88 100644 --- a/src/search.c +++ b/src/search.c @@ -1183,7 +1183,7 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt, posix) while ((EMACS_INT) cursor <= (EMACS_INT) p_limit) cursor += BM_tab[*cursor]; else - while ((unsigned EMACS_INT) cursor <= (unsigned EMACS_INT) p_limit) + while ((EMACS_UINT) cursor <= (EMACS_UINT) p_limit) cursor += BM_tab[*cursor]; } else @@ -1192,7 +1192,7 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt, posix) while ((EMACS_INT) cursor >= (EMACS_INT) p_limit) cursor += BM_tab[*cursor]; else - while ((unsigned EMACS_INT) cursor >= (unsigned EMACS_INT) p_limit) + while ((EMACS_UINT) cursor >= (EMACS_UINT) p_limit) cursor += BM_tab[*cursor]; } /* If you are here, cursor is beyond the end of the searched region. */ -- 2.39.2