diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 16:30:17 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 16:30:17 +0000 |
commit | fcc0efea75ba1bb735450ff7d4807fe5edad52a1 (patch) | |
tree | 5bb3da4f8a64b24f8136d1c1ca8f308c9921bb20 /gcc/ada/ada-tree.h | |
parent | 7ce3f2097140ad5acd021c792c92743f263057ce (diff) | |
download | gcc-fcc0efea75ba1bb735450ff7d4807fe5edad52a1.tar.gz |
* ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
size_t to avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61705 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/ada-tree.h')
-rw-r--r-- | gcc/ada/ada-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/ada-tree.h b/gcc/ada/ada-tree.h index b1904a4284d..eaebe7b456a 100644 --- a/gcc/ada/ada-tree.h +++ b/gcc/ada/ada-tree.h @@ -182,7 +182,7 @@ struct lang_type GTY(()) #define TYPE_DIGITS_VALUE(NODE) \ ((long) TYPE_LANG_SPECIFIC (INTEGER_TYPE_CHECK (NODE))) #define SET_TYPE_DIGITS_VALUE(NODE, X) \ - (TYPE_LANG_SPECIFIC (INTEGER_TYPE_CHECK (NODE)) = (struct lang_type *)(X)) + (TYPE_LANG_SPECIFIC (INTEGER_TYPE_CHECK (NODE)) = (struct lang_type *)(size_t)(X)) /* For INTEGER_TYPE, stores the RM_Size of the type. */ #define TYPE_RM_SIZE_INT(NODE) TYPE_VALUES (INTEGER_TYPE_CHECK (NODE)) |