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

This commit is contained in:
Alexandre Julliard 2007-03-09 22:17:55 +01:00
parent 9aecf6ef14
commit f2181a533e
1 changed files with 3 additions and 2 deletions

View File

@ -106,9 +106,10 @@ void __cdecl NTDLL_qsort( void *base, size_t nmemb, size_t size,
* _lfind (NTDLL.@)
*/
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 );
}