diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-07-12 04:40:33 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2005-07-12 14:40:33 +1000 |
commit | 6c5844d2c679c2b993e9b9ee3dc92d0126cfd742 (patch) | |
tree | 907bffd46abad8c308ce8c1220033e9d026dbfc6 /libiberty/regex.c | |
parent | 12548280a2afc5baa51ce7cd24c60fe841daa62e (diff) | |
download | gcc-6c5844d2c679c2b993e9b9ee3dc92d0126cfd742.zip gcc-6c5844d2c679c2b993e9b9ee3dc92d0126cfd742.tar.gz gcc-6c5844d2c679c2b993e9b9ee3dc92d0126cfd742.tar.bz2 |
pexecute.c (pexecute): Cast string litrals to char *.
* pexecute.c (pexecute): Cast string litrals to char *.
* regex.c (re_comp): Cast a call to gettext() to char *.
From-SVN: r101911
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r-- | libiberty/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c index 9d3e532..b7be99d 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -7814,7 +7814,7 @@ re_comp (const char *s) if (!s) { if (!re_comp_buf.buffer) - return gettext ("No previous regular expression"); + return (char *) gettext ("No previous regular expression"); return 0; } |