Index: file/mailslot.c =================================================================== --- dll/win32/kernel32/client/file/mailslot.c (revision 64019) +++ dll/win32/kernel32/client/file/mailslot.c (working copy) @@ -78,7 +78,7 @@ else { /* Convert to NT format */ - DefaultTimeOut.QuadPart = UInt32x32To64(-10000, lReadTimeout); + DefaultTimeOut.QuadPart = lReadTimeout * -10000LL; } Status = NtCreateMailslotFile(&MailslotHandle, @@ -185,7 +185,7 @@ else { /* Convert to NT format */ - Timeout.QuadPart = UInt32x32To64(-10000, lReadTimeout); + Timeout.QuadPart = lReadTimeout * -10000LL; } Buffer.ReadTimeout = &Timeout; Index: file/npipe.c =================================================================== --- dll/win32/kernel32/client/file/npipe.c (revision 64019) +++ dll/win32/kernel32/client/file/npipe.c (working copy) @@ -287,7 +287,7 @@ if (nDefaultTimeOut) { /* Convert the time to NT format */ - DefaultTimeOut.QuadPart = UInt32x32To64(nDefaultTimeOut, -10000); + DefaultTimeOut.QuadPart = nDefaultTimeOut * -10000LL; } else { @@ -517,7 +517,7 @@ else { /* Convert to NT format */ - WaitPipeInfo->Timeout.QuadPart = UInt32x32To64(-10000, nTimeOut); + WaitPipeInfo->Timeout.QuadPart = nTimeOut * -10000LL; } /* In both cases, we do have a timeout */ @@ -699,8 +699,7 @@ if (lpCollectDataTimeout) { /* Convert it to Quad */ - RemoteSettings.CollectDataTime.QuadPart = - -(LONGLONG)UInt32x32To64(10000, *lpCollectDataTimeout); + RemoteSettings.CollectDataTime.QuadPart = *lpCollectDataTimeout * -10000LL; } /* Tell the driver to change them */ Index: utils.c =================================================================== --- dll/win32/kernel32/client/utils.c (revision 64019) +++ dll/win32/kernel32/client/utils.c (working copy) @@ -292,7 +292,7 @@ if (dwMilliseconds == INFINITE) return NULL; /* Otherwise, convert the time to NT Format */ - Timeout->QuadPart = UInt32x32To64(dwMilliseconds, -10000); + Timeout->QuadPart = dwMilliseconds * -10000LL; return Timeout; } Index: vista.c =================================================================== --- dll/win32/kernel32/client/vista.c (revision 64019) +++ dll/win32/kernel32/client/vista.c (working copy) @@ -45,7 +45,7 @@ if (dwMilliseconds != INFINITE) { - TimeOut.QuadPart = UInt32x32To64(-10000, dwMilliseconds); + TimeOut.QuadPart = dwMilliseconds * -10000LL; TimeOutPtr = &TimeOut; } @@ -80,7 +80,7 @@ if (dwMilliseconds != INFINITE) { - TimeOut.QuadPart = UInt32x32To64(-10000, dwMilliseconds); + TimeOut.QuadPart = dwMilliseconds * -10000LL; TimeOutPtr = &TimeOut; }