Update some c-style casts -> reinterpret_cast

This commit is contained in:
Ian Chamberlain
2023-04-04 13:21:25 -04:00
parent 6e45de760e
commit 696c0904f8
2 changed files with 7 additions and 5 deletions

View File

@ -851,9 +851,10 @@ static void ReadMemory() {
MemToGdbHex(reply, data.data(), len);
reply[len * 2] = '\0';
LOG_DEBUG(Debug_GDBStub, "ReadMemory result: {}", (char*)reply);
auto reply_str = reinterpret_cast<char*>(reply);
SendReply(reinterpret_cast<char*>(reply));
LOG_DEBUG(Debug_GDBStub, "ReadMemory result: {}", reply_str);
SendReply(reply_str);
}
/// Modify location in memory with data received from the gdb client.