mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Fix signed-unsigned comparisons and mark warning as error (part 2).
This commit is contained in:
parent
771eff273b
commit
92e3eaf3ff
68 changed files with 194 additions and 202 deletions
|
|
@ -358,7 +358,8 @@ void gdb_thread::send_cmd(const std::string& cmd)
|
|||
std::string buf;
|
||||
buf.reserve(cmd.length() + 4);
|
||||
buf += "$";
|
||||
for (int i = 0; i < cmd.length(); ++i) {
|
||||
for (std::size_t i = 0; i < cmd.length(); ++i)
|
||||
{
|
||||
checksum = (checksum + append_encoded_char(cmd[i], buf)) % 256;
|
||||
}
|
||||
buf += "#";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue