diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-03-19 12:43:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-03-19 12:43:55 +0000 |
commit | 8db99db275183d379d0b6f2cd80942f6f5f5b4b2 (patch) | |
tree | 44ab1abac4ea78664a7aac624e55999489833429 /gcc/cccp.c | |
parent | b03a08ee0f0d0c64d3d0df60730d078b26c49876 (diff) | |
download | gcc-8db99db275183d379d0b6f2cd80942f6f5f5b4b2.tar.gz |
Warning fixes:
* cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
* cppfiles.c (read_and_prescan): Likewise.
Start a #define in column 0.
* cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
(cpp_push_buffer): Likewise for cpp_buffer*.
(do_include): Change the type of `fbeg' and `fend' to unsigned char*.
(do_endif): Cast to char* when assigning to one.
(do_assert): Likewise.
(do_unassert): Likewise.
(cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
Don't do unnecessary cast to char* anymore.
* genrecog.c (make_insn_sequence): Cast to char** when assigning
to one. Cast the first argument of bzero to PTR.
* loop.c (strength_reduce): Remove unused variable `note'.
* reload1.c (new_insn_chain): Cast to struct insn_chain* when
assigning to one.
* rtl.c (copy_rtx): Use memcpy instead of bcopy.
From-SVN: r25860
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c index 9fa3d1f271e..a849aabd6b3 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -5861,7 +5861,7 @@ create_definition (buf, limit, op) if (bp == temp->name && rest_args == 1) { /* This is the ISO C 9x style. */ - temp->name = va_args_name; + temp->name = (U_CHAR *) va_args_name; temp->length = VA_ARGS_NAME_LENGTH; } else |