diff options
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 9b43485b3d5..56a9e829e70 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -120,8 +120,8 @@ convert_to_integer (type, expr) { enum tree_code ex_form = TREE_CODE (expr); tree intype = TREE_TYPE (expr); - int inprec = TYPE_PRECISION (intype); - int outprec = TYPE_PRECISION (type); + unsigned int inprec = TYPE_PRECISION (intype); + unsigned int outprec = TYPE_PRECISION (type); /* An INTEGER_TYPE cannot be incomplete, but an ENUMERAL_TYPE can be. Consider `enum E = { a, b = (enum E) 3 };'. */ |