aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-07-12 10:35:00 +0000
committerDJ Delorie <dj@redhat.com>2005-07-12 10:35:00 +0000
commitf2942ea4dd6da2fb288214764c0be02e859d4177 (patch)
tree4e57c1a652f73fb67479304dcbddd0a342a119d7 /libiberty/regex.c
parent5817d0c78b50778a0b198a26221571cf0aec2ad3 (diff)
downloadgdb-f2942ea4dd6da2fb288214764c0be02e859d4177.zip
gdb-f2942ea4dd6da2fb288214764c0be02e859d4177.tar.gz
gdb-f2942ea4dd6da2fb288214764c0be02e859d4177.tar.bz2
merge from gcc
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 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;
}