]> git.eshelyaron.com Git - emacs.git/commitdiff
(search_buffer): Use EMACS_UINT.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 19:50:56 +0000 (19:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 19:50:56 +0000 (19:50 +0000)
src/search.c

index bfc5add20d7705049c4adb6b3efd1a67712636ea..6f4355f5b88da18a69ed5998cccc510d7bacf627 100644 (file)
@@ -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. */