Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix signedness warning

  • Loading branch information...
commit d02326726a82f9c65263205f587f13ec11c7e7f0 1 parent c6b6f4c
@WinterMute WinterMute authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gdbserver/gdb-remote.c
View
2  gdbserver/gdb-remote.c
@@ -20,7 +20,7 @@
static const char hex[] = "0123456789abcdef";
int gdb_send_packet(int fd, char* data) {
- unsigned length = strlen(data) + 5;
+ int length = strlen(data) + 5;
char* packet = malloc(length); /* '$' data (hex) '#' cksum (hex) */
memset(packet, 0, length);
Please sign in to comment.
Something went wrong with that request. Please try again.