libelftc: fix demangling of wchar_t

"wchar_t" is 7 characters long, not 6.

PR:		208661
Submitted by:	Daniel McRobb
Obtained from:	ELF Tool Chain r3480
MFC after:	3 days
This commit is contained in:
Ed Maste 2016-07-24 23:40:33 +00:00
parent 3aa8d4a5ed
commit 4e359ce1a0

View File

@ -2551,7 +2551,7 @@ again:
case 'w':
/* wchar_t */
if (!cpp_demangle_push_str(ddata, "wchar_t", 6))
if (!cpp_demangle_push_str(ddata, "wchar_t", 7))
goto clean;
++ddata->cur;
goto rtn;