summaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
commit91b96b52927a7cb860f67c3220fa5129752f8b1c (patch)
treee6b824cba197e58e0484c4643da4abd6d4d7039a /gdb/valprint.c
parent426174b521c529050e2e882b348440b402488f1f (diff)
downloadgdb-91b96b52927a7cb860f67c3220fa5129752f8b1c.tar.gz
Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c, stack.c, valprint.c: Change variables to unsigned. * bcache.c: Rearrange to avoid warnings about variables not being set. * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h rather than declaring print_max and repeat_count_threashold ourselves (incorrectly). * valprint.h: Do declare repeat_count_threashold. * ch-exp.c: Use default case for internal error. * findvar.c: Don't omit argument type. * symtab.c: Remove unused variable.
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 cc1432be972..e1414792b79 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -684,7 +684,7 @@ print_binary_chars (stream, valaddr, len)
#define BITS_IN_BYTES 8
unsigned char *p;
- int i;
+ unsigned int i;
int b;
/* Declared "int" so it will be signed.