changeset 11678:c0e33cdebfab

(search_buffer): Cast p_limit to EMACS_INT not int.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 May 1995 16:17:44 +0000
parents 8406623b45c4
children 1ced2d67d411
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Thu May 04 16:17:23 1995 +0000
+++ b/src/search.c	Thu May 04 16:17:44 1995 +0000
@@ -1176,7 +1176,7 @@
 			 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)