From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- posix/bug-regex5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix/bug-regex5.c') diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index f199ffb..ee4d652 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, (const char *) (extra + idx + 1), extra[idx]); + strncpy (elem, extra + idx + 1, extra[idx]); elem[extra[idx]] = '\0'; printf ("Found a collating element: %s\n", elem); ++found; -- cgit v1.1