From 54e0b04c74a1e55ccfd3b428415eb419b975de8b Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 23 Jun 2011 15:23:39 +0000 Subject: InOsEmuPkg/Unix: Fix build issues for GCC44 IA32 Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11880 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/Unix/Sec/EmuThunk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InOsEmuPkg/Unix/Sec/EmuThunk.c') 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. -- cgit v1.2.3