From: Richard M. Stallman Date: Tue, 10 Sep 1996 19:50:56 +0000 (+0000) Subject: (search_buffer): Use EMACS_UINT. X-Git-Tag: emacs-20.1~3792 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=45b248b417774953f55c2c3d2b78e7f1df986078;p=emacs.git (search_buffer): Use EMACS_UINT. --- 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. */