diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-01-02 10:52:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-01-02 10:52:59 +0000 |
commit | 0db2497936950725ae71e997091ef276a3ec43ee (patch) | |
tree | 7d66db137accea00fe402dfabf8e5de3a4af58c6 /posix/bug-regex5.c | |
parent | b9ea6c38033d6ab0bda9dddb34cc7a4c6ff82084 (diff) | |
download | glibc-0db2497936950725ae71e997091ef276a3ec43ee.tar glibc-0db2497936950725ae71e997091ef276a3ec43ee.tar.gz glibc-0db2497936950725ae71e997091ef276a3ec43ee.tar.bz2 glibc-0db2497936950725ae71e997091ef276a3ec43ee.zip |
Updated to fedora-glibc-20060102T1045
Diffstat (limited to 'posix/bug-regex5.c')
-rw-r--r-- | posix/bug-regex5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index ee4d652157..f199ffbfd3 100644 --- a/posix/bug-regex5.c +++ b/posix/bug-regex5.c @@ -41,7 +41,7 @@ main (void) { char elem[256]; idx = symb_table[2 * i + 1]; - strncpy (elem, extra + idx + 1, extra[idx]); + strncpy (elem, (const char *) (extra + idx + 1), extra[idx]); elem[extra[idx]] = '\0'; printf ("Found a collating element: %s\n", elem); ++found; |