Commit a5a4a9df by Jakub Jelinek Committed by Jakub Jelinek

* gimple-ssa-sprintf.c (parse_directive): Cast second dir.len to uhwi.

From-SVN: r256219
parent cf3fc0e8
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment