* remote.c (unpack_varlen_hex): Correct type of retval.
authorDaniel Jacobowitz <drow@false.org>
Thu, 13 Jul 2006 04:05:54 +0000 (04:05 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 13 Jul 2006 04:05:54 +0000 (04:05 +0000)
Reported by Zhigang Gong <zhigang.gong@gmail.com>.

gdb/ChangeLog
gdb/remote.c

index 3652bd209927107e0a6feb852a2fbde08c86b65b..4cd5bde6aaa852fa35b3bd895a7ba58d057868fd 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (unpack_varlen_hex): Correct type of retval.
+       Reported by Zhigang Gong <zhigang.gong@gmail.com>.
+
 2006-07-12  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
index 687a5d8f7e370a8f93b0c8139f421d10ea5325b2..7b4f55bef7c12f1266ece77c7463584a2f74b4be 100644 (file)
@@ -1188,7 +1188,7 @@ unpack_varlen_hex (char *buff,    /* packet to parse */
                   ULONGEST *result)
 {
   int nibble;
-  int retval = 0;
+  ULONGEST retval = 0;
 
   while (ishex (*buff, &nibble))
     {