Commit f2181a53 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fixed a compiler warning for size_t/unsigned int mismatch.

parent 9aecf6ef
...@@ -106,9 +106,10 @@ void __cdecl NTDLL_qsort( void *base, size_t nmemb, size_t size, ...@@ -106,9 +106,10 @@ void __cdecl NTDLL_qsort( void *base, size_t nmemb, size_t size,
* _lfind (NTDLL.@) * _lfind (NTDLL.@)
*/ */
void * __cdecl _lfind( const void *key, const void *base, unsigned int *nmemb, void * __cdecl _lfind( const void *key, const void *base, unsigned int *nmemb,
unsigned int size, int(*compar)(const void *, const void *) ) size_t size, int(*compar)(const void *, const void *) )
{ {
return lfind( key, base, nmemb, size, compar ); size_t n = *nmemb;
return lfind( key, base, &n, size, compar );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment