This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Pre-approved by Ian Taylor. 2005-07-12 Ben Elliston <bje@au.ibm.com> * pexecute.c (pexecute): Cast string litrals to char *. Index: pexecute.c =================================================================== RCS file: /home/bje/gcc-cvs/gcc/libiberty/pexecute.c,v retrieving revision 1.27 diff -u -p -r1.27 pexecute.c --- pexecute.c 24 May 2005 20:48:25 -0000 1.27 +++ pexecute.c 12 Jul 2005 04:28:43 -0000 @@ -47,7 +47,7 @@ pexecute (const char *program, char * co { if (pex != NULL) { - *errmsg_fmt = "pexecute already in progress"; + *errmsg_fmt = (char *) "pexecute already in progress"; *errmsg_arg = NULL; return -1; } @@ -58,7 +58,7 @@ pexecute (const char *program, char * co { if (pex == NULL) { - *errmsg_fmt = "pexecute not in progress"; + *errmsg_fmt = (char *) "pexecute not in progress"; *errmsg_arg = NULL; return -1; }
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |