diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 2000-02-08 04:39:02 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 2000-02-08 04:39:02 +0000 |
commit | 745b8ca0fc4d987837a24d1ed5f53006478d2716 (patch) | |
tree | d6471c55e430ad890aabc21f06dc169bfd5cba58 /gdb/c-valprint.c | |
parent | 1171f8d754f71e35fd2f6c4e82b00f3c685e515f (diff) | |
download | gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.zip gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.tar.gz gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.tar.bz2 |
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/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 10bcda7..07289de 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -87,7 +87,7 @@ c_val_print (type, valaddr, embedded_offset, address, stream, format, deref_ref, elements up to it. */ if (stop_print_at_null) { - int temp_len; + unsigned int temp_len; /* Look for a NULL char. */ for (temp_len = 0; |