Skip to content
Snippets Groups Projects
Commit c6bc4835 authored by Qian Jianhua's avatar Qian Jianhua
Browse files

print-tree:Avoid warnings of overflow

This patch avoids two warnings of "'sprintf' may write a
terminating nul past the end of the destination
[-Wformat-overflow=]" when build GCC.

Tested on x86_64, and committed as obvious.

gcc/ChangeLog:

	* print-tree.cc: Change array length
parent 7bce0be0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment