aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-10 19:50:56 +0000
committerRichard M. Stallman1996-09-10 19:50:56 +0000
commit45b248b417774953f55c2c3d2b78e7f1df986078 (patch)
treee2f5140d7b60b57c2fbabd6432c4983e434fe29b /src
parent4e98d4faa2002c6a574f7fab038ccea1ea9947e8 (diff)
downloademacs-45b248b417774953f55c2c3d2b78e7f1df986078.tar.gz
emacs-45b248b417774953f55c2c3d2b78e7f1df986078.zip
(search_buffer): Use EMACS_UINT.
Diffstat (limited to 'src')
-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)
1183 while ((EMACS_INT) cursor <= (EMACS_INT) p_limit) 1183 while ((EMACS_INT) cursor <= (EMACS_INT) p_limit)
1184 cursor += BM_tab[*cursor]; 1184 cursor += BM_tab[*cursor];
1185 else 1185 else
1186 while ((unsigned EMACS_INT) cursor <= (unsigned EMACS_INT) p_limit) 1186 while ((EMACS_UINT) cursor <= (EMACS_UINT) p_limit)
1187 cursor += BM_tab[*cursor]; 1187 cursor += BM_tab[*cursor];
1188 } 1188 }
1189 else 1189 else
@@ -1192,7 +1192,7 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt, posix)
1192 while ((EMACS_INT) cursor >= (EMACS_INT) p_limit) 1192 while ((EMACS_INT) cursor >= (EMACS_INT) p_limit)
1193 cursor += BM_tab[*cursor]; 1193 cursor += BM_tab[*cursor];
1194 else 1194 else
1195 while ((unsigned EMACS_INT) cursor >= (unsigned EMACS_INT) p_limit) 1195 while ((EMACS_UINT) cursor >= (EMACS_UINT) p_limit)
1196 cursor += BM_tab[*cursor]; 1196 cursor += BM_tab[*cursor];
1197 } 1197 }
1198/* If you are here, cursor is beyond the end of the searched region. */ 1198/* If you are here, cursor is beyond the end of the searched region. */