aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-23 03:00:57 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-23 03:00:57 +0000
commitbaa6f10b321f9eabc092fcdb26d2005638a8a16c (patch)
treef9b154b7432651e05988e6c75ac7605af71c7471 /gdb/valprint.c
parentb2c4da8122c59a96c83c1731d6c973cde730f670 (diff)
downloadgdb-baa6f10b321f9eabc092fcdb26d2005638a8a16c.zip
gdb-baa6f10b321f9eabc092fcdb26d2005638a8a16c.tar.gz
gdb-baa6f10b321f9eabc092fcdb26d2005638a8a16c.tar.bz2
* findvar.c (extract_signed_integer): Cast printf argument
to suppress format warning. (extract_unsigned_integer): Likewise. * infcmd.c (registers_info): Likewise. * top.c (get_prompt_1): Likewise. * valops.c (value_assign): Likewise. * valprint.c (print_decimal): Likewise.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index be22ce6..39cf04c 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -335,7 +335,7 @@ print_longest (struct ui_file *stream, int format, int use_local,
val_long);
break;
case 'u':
- fprintf_filtered (stream, "%llu", val_long);
+ fprintf_filtered (stream, "%llu", (long long) val_long);
break;
case 'x':
fprintf_filtered (stream,