Permalink
Browse files

fix signedness warning

  • Loading branch information...
1 parent c6b6f4c commit d02326726a82f9c65263205f587f13ec11c7e7f0 @WinterMute WinterMute committed May 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gdbserver/gdb-remote.c
View
@@ -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);

0 comments on commit d023267

Please sign in to comment.