diff options
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c index 512cc64..895df77 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -649,7 +649,7 @@ unpack_long (type, valaddr) { if (len == sizeof (char)) { - char retval; + SIGNED char retval; /* plain chars might be unsigned on host */ bcopy (valaddr, &retval, sizeof (retval)); SWAP_TARGET_AND_HOST (&retval, sizeof (retval)); return retval; |