Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
This commit is contained in:
parent
cb436f39aa
commit
d40d5880c2
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
|
||||||
|
|
||||||
|
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
|
||||||
|
|
||||||
Sun Jun 28 11:35:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
Sun Jun 28 11:35:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
||||||
|
|
||||||
Improve support for SunPro F77.
|
Improve support for SunPro F77.
|
||||||
|
|
|
@ -5495,12 +5495,12 @@ re_comp (s)
|
||||||
{
|
{
|
||||||
re_comp_buf.buffer = (unsigned char *) malloc (200);
|
re_comp_buf.buffer = (unsigned char *) malloc (200);
|
||||||
if (re_comp_buf.buffer == NULL)
|
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.allocated = 200;
|
||||||
|
|
||||||
re_comp_buf.fastmap = (char *) malloc (1 << BYTEWIDTH);
|
re_comp_buf.fastmap = (char *) malloc (1 << BYTEWIDTH);
|
||||||
if (re_comp_buf.fastmap == NULL)
|
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
|
/* Since `re_exec' always passes NULL for the `regs' argument, we
|
||||||
|
|
Loading…
Add table
Reference in a new issue