summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute/string-opt-15.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/string-opt-15.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/string-opt-15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-15.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-15.c
index 2cf73da151c..e2395d4dfeb 100644
--- a/gcc/testsuite/gcc.c-torture/execute/string-opt-15.c
+++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-15.c
@@ -39,7 +39,7 @@ main ()
should abort. */
__attribute__ ((noinline))
static int
-memcmp (const char *p1, const char *p2, size_t len)
+memcmp (const void *p1, const void *p2, size_t len)
{
abort ();
}
OpenPOWER on IntegriCloud