From e2e5efb9d7f1e158cd629059f1ef4e714cd9905f Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 28 Nov 1999 01:55:41 +0000 Subject: [PATCH] fixed a typo svn path=/trunk/; revision=804 --- reactos/lib/crtdll/wchar/wcsnicmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/lib/crtdll/wchar/wcsnicmp.c b/reactos/lib/crtdll/wchar/wcsnicmp.c index d71ed6c4de7..e581fa94446 100644 --- a/reactos/lib/crtdll/wchar/wcsnicmp.c +++ b/reactos/lib/crtdll/wchar/wcsnicmp.c @@ -2,7 +2,7 @@ int _wcsnicmp(const wchar_t * cs,const wchar_t * ct,size_t count) { - wchar_t *save = (char *)cs; + wchar_t *save = (wchar_t *)cs; while (towlower(*cs) == towlower(*ct) && (int)(cs - save) < count) { if (*cs == 0) @@ -11,5 +11,4 @@ int _wcsnicmp(const wchar_t * cs,const wchar_t * ct,size_t count) ct++; } return towlower(*cs) - towlower(*ct); - }