From 70966985cb8e8f4caf9e2b0adf6e3f327974b976 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Dec 2018 15:23:40 -0600 Subject: psxhdrs/strings/strncasecmp_l.c: Fix warning --- testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c') diff --git a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c index 9b0792fda5..19d9629661 100644 --- a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c +++ b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c @@ -2,6 +2,7 @@ * @file * @brief strcasecmp_l() API Conformance Test */ + /* * COPYRIGHT (c) 2018. * Himanshu Sekhar Nayak @@ -31,9 +32,10 @@ { char *string1 = "STRING"; char *string2 = "string"; + locale_t locale = NULL; int result; - result = strncasecmp_l( string1, string2, 6, LC_CTYPE ); + result = strncasecmp_l( string1, string2, 6, locale ); return result; } -- cgit v1.2.3