bitmap.h (bitmap_head_def): Make indx field unsigned.
authorJeffrey A Law <law@cygnus.com>
Sat, 23 Jan 1999 01:49:56 +0000 (01:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 23 Jan 1999 01:49:56 +0000 (18:49 -0700)
        * bitmap.h (bitmap_head_def): Make indx field unsigned.
Fixes a couple minor warnings.

From-SVN: r24828

gcc/ChangeLog
gcc/bitmap.h

index 65f2ac92356abaf601981a13eb43822d8439f142..0e90c5bfcce3290824a1a8199d5693f4c2593ad0 100644 (file)
@@ -1,5 +1,7 @@
 Sat Jan 23 01:37:36 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * bitmap.h (bitmap_head_def): Make indx field unsigned.
+
        * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
        use $exec_prefix/$target_alias for gcc_tooldir.
 
index 6f3dfa6aa95e3a349153f051c351f0eb79699290..9a3e3e2bbb57c18710d220550813aca431de8333 100644 (file)
@@ -48,7 +48,7 @@ typedef struct bitmap_element_def
 typedef struct bitmap_head_def {
   bitmap_element *first;       /* First element in linked list. */
   bitmap_element *current;     /* Last element looked at. */
-  int indx;                    /* Index of last element looked at. */
+  unsigned int indx;           /* Index of last element looked at. */
 } bitmap_head, *bitmap;
 
 /* Enumeration giving the various operations we support.  */