summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 19:50:56 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 19:50:56 +0000
commit31f99f4e0751863fc6479dcf5d2b42914be09903 (patch)
tree3d95aa694e84097c338fc09d74bf2d1a2e4097dd
parent4840461940ce5cc65c70c79cad86cb8a03f40def (diff)
downloademacs-31f99f4e0751863fc6479dcf5d2b42914be09903.tar.gz
(search_buffer): Use EMACS_UINT.
-rw-r--r--src/search.c4
1 files 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. */