diff src/redisplay.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 373ced43e288
children fdefd0186b75
line wrap: on
line diff
--- a/src/redisplay.c	Wed Aug 08 12:15:04 2001 +0000
+++ b/src/redisplay.c	Mon Aug 13 04:46:48 2001 +0000
@@ -775,7 +775,7 @@
   struct glyph_block gb;
   prop_block_dynarr *retval;
   Bytind bi_old_cursor_bufpos = data->bi_cursor_bufpos;
-  unsigned int old_cursor_type = data->cursor_type;
+  int old_cursor_type = data->cursor_type;
   Bytind bi_old_bufpos = data->bi_bufpos;
 
   if (data->cursor_type == CURSOR_ON
@@ -1113,7 +1113,7 @@
 {
   prop_block_dynarr *prop, *add_failed;
   Emchar orig_char = data->ch;
-  unsigned int orig_cursor_type = data->cursor_type;
+  int orig_cursor_type = data->cursor_type;
 
   /* Initialize */
   prop = NULL;
@@ -1190,7 +1190,7 @@
     {
       prop_block_dynarr *prop;
       Emchar orig_char = data->ch;
-      unsigned int old_cursor_type = data->cursor_type;
+      int old_cursor_type = data->cursor_type;
 
       /* Initialize */
       prop = NULL;
@@ -1382,7 +1382,7 @@
   int elt;
   prop_block_dynarr *add_failed;
   Bytind bi_old_cursor_bufpos = data->bi_cursor_bufpos;
-  unsigned int old_cursor_type = data->cursor_type;
+  int old_cursor_type = data->cursor_type;
 
   for (elt = 0; elt < Dynarr_length (*prop); elt++)
     {
@@ -5953,7 +5953,7 @@
   Fset_marker (w->start[DESIRED_DISP], make_int (startp), the_buffer);
 
   truncation_changed = (find_window_mirror (w)->truncate_win !=
-			window_truncation_on (w));
+			(unsigned int) window_truncation_on (w));
 
   /* If w->force_start is set, then some function set w->start and we
      should display from there and change point, if necessary, to
@@ -7246,7 +7246,7 @@
 {
   struct buffer *b = XBUFFER (w->buffer);
   line_start_cache_dynarr *cache = w->line_start_cache;
-  unsigned int top, bottom, pos;
+  int top, bottom, pos;
 
   validate_line_start_cache (w);
   w->line_cache_validation_override++;
@@ -7374,7 +7374,7 @@
 
   while (1)
     {
-      unsigned int new_pos;
+      int new_pos;
       Bufpos start, end;
 
       pos = (bottom + top + 1) >> 1;
@@ -8100,7 +8100,7 @@
       struct display_block *db = get_display_block_from_line (dl, TEXT);
 
       *pix_y = (dl->ypos - dl->ascent +
-		((unsigned int) (dl->ascent + dl->descent - dl->clip) >> 1));
+		((dl->ascent + dl->descent - dl->clip) >> 1));
 
       if (char_x < Dynarr_length (db->runes))
 	{