diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-07-13 04:05:54 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-07-13 04:05:54 +0000 |
commit | d49c44d5f19771810279034d93060d13c13f0937 (patch) | |
tree | ca761a156ff51732c781f92666588a9df1757ab2 /gdb/remote.c | |
parent | 96e6859cbaddde2ca08cc16ea38075802111942a (diff) | |
download | fsf-binutils-gdb-d49c44d5f19771810279034d93060d13c13f0937.zip fsf-binutils-gdb-d49c44d5f19771810279034d93060d13c13f0937.tar.gz fsf-binutils-gdb-d49c44d5f19771810279034d93060d13c13f0937.tar.bz2 |
* remote.c (unpack_varlen_hex): Correct type of retval.
Reported by Zhigang Gong <zhigang.gong@gmail.com>.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 687a5d8..7b4f55b 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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)) { |