ntdll: Reimplement _aullrem using 32-bit arithmetic.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-06-08 18:12:13 +02:00 committed by Alexandre Julliard
parent d53672c6ec
commit 744843ed01
1 changed files with 3 additions and 1 deletions

View File

@ -878,7 +878,9 @@ __ASM_STDCALL_FUNC( _alldvrm, 16,
*/
ULONGLONG WINAPI _aullrem( ULONGLONG a, ULONGLONG b )
{
return a % b;
ULONGLONG r;
udivmod(a, b, &r);
return r;
}
/******************************************************************************