diff options
Diffstat (limited to 'emulator/qtools/read_addr.cpp')
-rw-r--r-- | emulator/qtools/read_addr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/qtools/read_addr.cpp b/emulator/qtools/read_addr.cpp index 38fc62a..1c8c20f 100644 --- a/emulator/qtools/read_addr.cpp +++ b/emulator/qtools/read_addr.cpp @@ -20,7 +20,7 @@ int main(int argc, char **argv) { if (trace->ReadAddr(&time, &addr, &flags)) break; - char *op = "ld"; + const char *op = "ld"; if (flags == 1) op = "st"; printf("%lld 0x%08x %s\n", time, addr, op); |