diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-07 21:13:14 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-07 21:13:14 +0000 |
commit | da8bd873fe10f6278a039cd7feea5b00fb393221 (patch) | |
tree | b85046f86e463a4f12518452c722b1a0c944bb2b /libiberty/dyn-string.c | |
parent | 4b7bc488905309a3a9fa951bc3df7961076385d4 (diff) | |
download | ppe42-gcc-da8bd873fe10f6278a039cd7feea5b00fb393221.tar.gz ppe42-gcc-da8bd873fe10f6278a039cd7feea5b00fb393221.zip |
libiberty:
* configure.in (ac_libiberty_warn_cflags): Add -pedantic.
* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
* cp-demangle.c (demangle_char): Change parameter from char to int.
(demangle_expression, demangle_expr_primary): Remove extra
semi-colon in prototype.
* dyn-string.c (dyn_string_append_char): Change parameter from
char to int.
* memcmp.c (memcmp): Constify.
* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
__extension__.
* partition.c (elem_compare): Prototype. Don't cast away
const-ness.
* setenv.c (setenv): Use braces to avoid ambiguous `else'.
include:
* demangle.h (demangling_styles): Remove trailing comma in enum.
* dyn-string.h (dyn_string_append_char): Change parameter from
char to int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34447 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/dyn-string.c')
-rw-r--r-- | libiberty/dyn-string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/dyn-string.c b/libiberty/dyn-string.c index f6fad618031..2ae64ebb6c2 100644 --- a/libiberty/dyn-string.c +++ b/libiberty/dyn-string.c @@ -275,7 +275,7 @@ dyn_string_append_cstr (ds, s) dyn_string_t dyn_string_append_char (ds, c) dyn_string_t ds; - char c; + int c; { /* Make room for the extra character. */ dyn_string_resize (ds, ds->length + 1); |