summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/Unix/Sec/EmuThunk.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-23 15:23:39 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-23 15:23:39 +0000
commit54e0b04c74a1e55ccfd3b428415eb419b975de8b (patch)
tree733bb7a9e6b7adf2289f4d4a96877ecd0042e7d1 /InOsEmuPkg/Unix/Sec/EmuThunk.c
parent27f6b4f86969dd11c73fb9c4a6ea2de422c48311 (diff)
downloadedk2-54e0b04c74a1e55ccfd3b428415eb419b975de8b.zip
edk2-54e0b04c74a1e55ccfd3b428415eb419b975de8b.tar.gz
edk2-54e0b04c74a1e55ccfd3b428415eb419b975de8b.tar.bz2
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
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/EmuThunk.c')
-rw-r--r--InOsEmuPkg/Unix/Sec/EmuThunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/InOsEmuPkg/Unix/Sec/EmuThunk.c b/InOsEmuPkg/Unix/Sec/EmuThunk.c
index 194cf13..97c339d 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.