Skip to content

Commit

Permalink
GdbServer: Fixes encoding of hex
Browse files Browse the repository at this point in the history
Just a typo accidentally prefixing 0x on the hex when it shouldn't.
  • Loading branch information
Sonicadvance1 committed Dec 13, 2024
1 parent 656477e commit 7ef8dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Tools/LinuxEmulation/LinuxSyscalls/GdbServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static fextl::string hexstring(fextl::istringstream& ss, int delm) {
}

static fextl::string appendHex(const char* data, size_t length) {
return fextl::fmt::format("{:#02x}", fmt::join(data, data + length, ""));
return fextl::fmt::format("{:02x}", fmt::join(data, data + length, ""));
}

static fextl::string encodeHex(const unsigned char* data, size_t length) {
Expand Down

0 comments on commit 7ef8dc1

Please sign in to comment.