[rtems commit] psxhdrs/strings/strncasecmp_l.c: Fix warning
Joel Sherrill
joel at rtems.org
Wed Dec 5 21:24:06 UTC 2018
Module: rtems
Branch: master
Commit: 70966985cb8e8f4caf9e2b0adf6e3f327974b976
Changeset: http://git.rtems.org/rtems/commit/?id=70966985cb8e8f4caf9e2b0adf6e3f327974b976
Author: Joel Sherrill <joel at rtems.org>
Date: Wed Dec 5 15:23:40 2018 -0600
psxhdrs/strings/strncasecmp_l.c: Fix warning
---
testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
index 9b0792fd..19d9629 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;
}
More information about the vc
mailing list