summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/diagnostics/diagnostics_win32.cpp
diff options
context:
space:
mode:
author invertego <invertego@users.noreply.github.com>2022-09-25 13:51:21 -0700
committer Vas Crabb <vas@vastheman.com>2022-09-26 16:46:59 +1000
commitbd7870abe6cc276c496e9709b39285579162fc10 (patch)
tree730b8d163389061b9906da54510c583023d4464b /src/osd/modules/diagnostics/diagnostics_win32.cpp
parentb2679ec43c7b358b29f2c5a3b6d3ccb93abbc8f3 (diff)
diagnostics: fix clang Windows build (#10370)
Restore necessary const qualifier removed by 0055a33e81b60284c6390e9c73db9fcb19b8ce8b
Diffstat (limited to '')
-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)");