* remote.c (unpack_varlen_hex): Correct type of retval.

Reported by Zhigang Gong <zhigang.gong@gmail.com>.
This commit is contained in:
Daniel Jacobowitz 2006-07-13 04:05:54 +00:00
parent 96e6859cba
commit d49c44d5f1
2 changed files with 6 additions and 1 deletions

View 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

View 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))
{