summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcscasecmp.c
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2011-06-01 19:29:48 +0000
committernaddy <naddy@openbsd.org>2011-06-01 19:29:48 +0000
commit9e7c890b96b84166bd7b9df87bd9a0ce9e9cc7a2 (patch)
tree76409ad5e3a8762636c641a9b34ebffe0d6a03c6 /lib/libc/string/wcscasecmp.c
parentAdd device_ref/device_unref calls to prevent a possible use-after-free (diff)
downloadwireguard-openbsd-9e7c890b96b84166bd7b9df87bd9a0ce9e9cc7a2.tar.xz
wireguard-openbsd-9e7c890b96b84166bd7b9df87bd9a0ce9e9cc7a2.zip
fix wcscasecmp() parameters; <wchar.h> was correct
Diffstat (limited to 'lib/libc/string/wcscasecmp.c')
-rw-r--r--lib/libc/string/wcscasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/wcscasecmp.c b/lib/libc/string/wcscasecmp.c
index d4085ad3e87..b14997ee751 100644
--- a/lib/libc/string/wcscasecmp.c
+++ b/lib/libc/string/wcscasecmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcscasecmp.c,v 1.1 2011/05/28 15:16:46 espie Exp $ */
+/* $OpenBSD: wcscasecmp.c,v 1.2 2011/06/01 19:29:48 naddy Exp $ */
/*
* Copyright (c) 2011 Marc Espie
@@ -30,7 +30,7 @@
#include "locale/runetype.h"
int
-wcscasecmp(const wchar_t *s1, const char *s2)
+wcscasecmp(const wchar_t *s1, const wchar_t *s2)
{
wchar_t l1, l2;