ntdll: Fixed a compiler warning for size_t/unsigned int mismatch.
This commit is contained in:
parent
9aecf6ef14
commit
f2181a533e
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue