summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-04 16:17:44 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-04 16:17:44 +0000
commit1ddd4b790aa6529a25b238e249d2bbea398e5297 (patch)
tree21981ba23e98f5d5587a469675b7daa731e6adfe /src
parent5cc6bb120f570f5f6c20edfef63bd20b3ff01890 (diff)
downloademacs-1ddd4b790aa6529a25b238e249d2bbea398e5297.tar.gz
(search_buffer): Cast p_limit to EMACS_INT not int.
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 82d9d812bc9..939c3f7cde0 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1176,7 +1176,7 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt, posix)
as we don't step by infinity. So pick the kind
that works when we do step by infinity. */
if ((EMACS_INT) (p_limit + infinity) > (EMACS_INT) p_limit)
- while ((EMACS_INT) cursor <= (int) p_limit)
+ while ((EMACS_INT) cursor <= (EMACS_INT) p_limit)
cursor += BM_tab[*cursor];
else
while ((unsigned EMACS_INT) cursor <= (unsigned EMACS_INT) p_limit)