summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author invertego <invertego@users.noreply.github.com>2022-09-25 13:51:21 -0700
committer GitHub <noreply@github.com>2022-09-25 16:51:21 -0400
commit251d0c9995e9aa6a29b2045183ac268dfd2ac75f (patch)
treefac3ced7aba8a884e4400a6f6ccb7204788a12e1
parent5b0d542bedb479ae4da9a311721739006ece0bb5 (diff)
diagnostics: fix clang Windows build (#10370)
Restore necessary const qualifier removed by 0055a33e81b60284c6390e9c73db9fcb19b8ce8b
-rw-r--r--src/osd/modules/diagnostics/diagnostics_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/diagnostics/diagnostics_win32.cpp b/src/osd/modules/diagnostics/diagnostics_win32.cpp
index 4609673c66a..5b82b63f2c3 100644
--- a/src/osd/modules/diagnostics/diagnostics_win32.cpp
+++ b/src/osd/modules/diagnostics/diagnostics_win32.cpp
@@ -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)");