diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-09-23 06:11:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-09-23 06:11:29 +0000 |
commit | 997470b3e151845b067b0a7c865f9ab7177d14c1 (patch) | |
tree | c08e477ee770cf2218dd2e0d20f60bf61de600bf /posix/regex_internal.c | |
parent | 8f7aee92287b84e9a18d5da1c7027d7067446a90 (diff) | |
download | glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.tar glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.tar.gz glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.tar.bz2 glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.zip |
[BZ #281]
* posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
* posix/regcomp.c: Remove unnecessary uses of
unsigned RE_TRANSLATE_TYPE.
* posix/regex_internal.h: Likewise.
* posix/regex_internal.c: Likewise.
* posix/regexexec.c: Likewise.
Based on a patch by Stepan Kasal <kasal@ucw.cz>.
Diffstat (limited to 'posix/regex_internal.c')
-rw-r--r-- | posix/regex_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c index 240e8872b3..2b3725f3dd 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -187,7 +187,7 @@ re_string_construct_common (str, len, pstr, trans, icase, dfa) pstr->raw_mbs = (const unsigned char *) str; pstr->len = len; pstr->raw_len = len; - pstr->trans = (unsigned RE_TRANSLATE_TYPE) trans; + pstr->trans = trans; pstr->icase = icase ? 1 : 0; pstr->mbs_allocated = (trans != NULL || icase); pstr->mb_cur_max = dfa->mb_cur_max; |