* remote.c (unpack_varlen_hex): Correct type of retval.
Reported by Zhigang Gong <zhigang.gong@gmail.com>.
This commit is contained in:
parent
96e6859cba
commit
d49c44d5f1
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue