summaryrefslogtreecommitdiff
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-18 04:00:39 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-18 04:00:39 +0000
commitb25026a571b110ce4dd2fa426eaa7e2ce954077e (patch)
tree276fe92182ba9cb1ddb05efbb251c0e382ca23cc /gcc/c-typeck.c
parent5073c3a06557e7b1360b17c0cde82601cecd19ac (diff)
parenta0553bffda7fd6a0a7a1ffc17c700ea03b31543e (diff)
downloadgcc-x32.tar.gz
Merged with trunk at revision 177828.x32
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/x32@177844 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 7577f4f830f..bd932dba54a 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -3652,7 +3652,7 @@ build_unary_op (location_t location,
}
inc = c_size_in_bytes (TREE_TYPE (argtype));
- inc = fold_convert_loc (location, sizetype, inc);
+ inc = convert_to_ptrofftype_loc (location, inc);
}
else if (FRACT_MODE_P (TYPE_MODE (argtype)))
{