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 Vas Crabb
parent b2679ec43c
commit bd7870abe6

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)");