diagnostics: fix clang Windows build (#10370)

Restore necessary const qualifier removed by 0055a33e81
This commit is contained in:
invertego 2022-09-25 13:51:21 -07:00 committed by GitHub
parent 5b0d542bed
commit 251d0c9995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -507,7 +507,7 @@ bool symbol_manager::parse_sym_line(const char *line, uintptr_t &address, std::s
*/
// first look for a (ty) entry
char *type = strstr(line, "(ty 20)");
const char *type = strstr(line, "(ty 20)");
if (type == nullptr)
type = strstr(line, "(ty 20)");