diff options
Diffstat (limited to 'gcc/c-family/c-format.c')
-rw-r--r-- | gcc/c-family/c-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c index 491ef71e42d..ed2cf89eaf2 100644 --- a/gcc/c-family/c-format.c +++ b/gcc/c-family/c-format.c @@ -232,7 +232,7 @@ get_constant (tree expr, unsigned HOST_WIDE_INT *value, int validated_p) return false; } - *value = tree_to_hwi (expr); + *value = TREE_INT_CST_LOW (expr); return true; } |