summaryrefslogtreecommitdiff
path: root/gcc/sbitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sbitmap.h')
-rw-r--r--gcc/sbitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h
index 5992e03bd11..41d8324d35a 100644
--- a/gcc/sbitmap.h
+++ b/gcc/sbitmap.h
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
It should be straightforward to convert so for now we keep things simple
while more important issues are dealt with. */
-#define SBITMAP_ELT_BITS HOST_BITS_PER_WIDE_INT
+#define SBITMAP_ELT_BITS ((unsigned) HOST_BITS_PER_WIDE_INT)
#define SBITMAP_ELT_TYPE unsigned HOST_WIDE_INT
typedef struct simple_bitmap_def {