* gimple-ssa-sprintf.c (parse_directive): Cast second dir.len to uhwi.
From-SVN: r256219
This commit is contained in:
parent
cf3fc0e8ac
commit
a5a4a9dfa9
@ -1,3 +1,7 @@
|
||||
2018-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gimple-ssa-sprintf.c (parse_directive): Cast second dir.len to uhwi.
|
||||
|
||||
2018-01-03 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/83655
|
||||
|
@ -3040,7 +3040,7 @@ parse_directive (sprintf_dom_walker::call_info &info,
|
||||
"length = " HOST_WIDE_INT_PRINT_UNSIGNED "\n",
|
||||
dir.dirno,
|
||||
(unsigned HOST_WIDE_INT)(size_t)(dir.beg - info.fmtstr),
|
||||
(int)dir.len, dir.beg, dir.len);
|
||||
(int)dir.len, dir.beg, (unsigned HOST_WIDE_INT) dir.len);
|
||||
}
|
||||
|
||||
return len - !*str;
|
||||
|
Loading…
Reference in New Issue
Block a user