diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-06-30 02:40:12 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-06-30 02:40:12 +0000 |
commit | d40d5880c209617e3e4c951ed70b083c76b4cc37 (patch) | |
tree | 30c9bdeca49614554e1a578425a452c513e76ba2 /gdb/gnu-regex.c | |
parent | cb436f39aae6a3d00c4d9964d8e4a589c9f4cf15 (diff) | |
download | gdb-d40d5880c209617e3e4c951ed70b083c76b4cc37.zip gdb-d40d5880c209617e3e4c951ed70b083c76b4cc37.tar.gz gdb-d40d5880c209617e3e4c951ed70b083c76b4cc37.tar.bz2 |
Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
Diffstat (limited to 'gdb/gnu-regex.c')
-rw-r--r-- | gdb/gnu-regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-regex.c b/gdb/gnu-regex.c index 1c9b6fb..846250a 100644 --- a/gdb/gnu-regex.c +++ b/gdb/gnu-regex.c @@ -5495,12 +5495,12 @@ re_comp (s) { re_comp_buf.buffer = (unsigned char *) malloc (200); if (re_comp_buf.buffer == NULL) - return gettext (re_error_msgid[(int) REG_ESPACE]); + return (char *) gettext (re_error_msgid[(int) REG_ESPACE]); re_comp_buf.allocated = 200; re_comp_buf.fastmap = (char *) malloc (1 << BYTEWIDTH); if (re_comp_buf.fastmap == NULL) - return gettext (re_error_msgid[(int) REG_ESPACE]); + return (char *) gettext (re_error_msgid[(int) REG_ESPACE]); } /* Since `re_exec' always passes NULL for the `regs' argument, we |