diff options
Diffstat (limited to 'InOsEmuPkg/Unix/Sec')
-rw-r--r-- | InOsEmuPkg/Unix/Sec/EmuThunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InOsEmuPkg/Unix/Sec/EmuThunk.c b/InOsEmuPkg/Unix/Sec/EmuThunk.c index 194cf137f9..97c339d241 100644 --- a/InOsEmuPkg/Unix/Sec/EmuThunk.c +++ b/InOsEmuPkg/Unix/Sec/EmuThunk.c @@ -257,8 +257,8 @@ SecSleep ( struct timeval start, end; unsigned long MicroSec; - rq.tv_sec = Nanoseconds / 1000000000; - rq.tv_nsec = Nanoseconds % 1000000000; + rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000); + rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000); // // nanosleep gets interrupted by our timer tic. |