mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
(search_buffer): Use EMACS_UINT.
This commit is contained in:
parent
4e98d4faa2
commit
45b248b417
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user