diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-23 03:00:57 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-23 03:00:57 +0000 |
commit | baa6f10b321f9eabc092fcdb26d2005638a8a16c (patch) | |
tree | f9b154b7432651e05988e6c75ac7605af71c7471 /gdb/infcmd.c | |
parent | b2c4da8122c59a96c83c1731d6c973cde730f670 (diff) | |
download | gdb-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/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index a7496d1..400ac55 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1681,7 +1681,7 @@ registers_info (char *addr_exp, int fpregs) if (*addr_exp >= '0' && *addr_exp <= '9') regnum = atoi (addr_exp); /* Take a number */ if (regnum >= numregs) /* Bad name, or bad number */ - error ("%.*s: invalid register", end - addr_exp, addr_exp); + error ("%.*s: invalid register", (int) (end - addr_exp), addr_exp); found: DO_REGISTERS_INFO (regnum, fpregs); |