summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-12 04:40:33 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-12 04:40:33 +0000
commiteb0379c16816b93aa3306e40674807632263a7b0 (patch)
tree907bffd46abad8c308ce8c1220033e9d026dbfc6 /libiberty/regex.c
parent317d4fdaf2eef47b9aaffa40663bff4bca22ad6c (diff)
downloadgcc-eb0379c16816b93aa3306e40674807632263a7b0.tar.gz
* pexecute.c (pexecute): Cast string litrals to char *.
* regex.c (re_comp): Cast a call to gettext() to char *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101911 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index 9d3e532a598..b7be99d25b2 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;
}