diff options
| author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2009-09-11 13:30:27 +0000 |
|---|---|---|
| committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2009-09-11 13:30:27 +0000 |
| commit | 7c5a63ec22d3b6ef7006adc1d54ef850d65d38bf (patch) | |
| tree | cea76889d20e9d06fc2f5fe10a2e9c49d75abc6b /src/VBox/Runtime/r3/linux/semevent-linux.cpp | |
| parent | 06f9eb5029982f514d8ce976ee53c7e34e47fcc4 (diff) | |
| download | VirtualBox-svn-7c5a63ec22d3b6ef7006adc1d54ef850d65d38bf.tar.gz | |
i64Diff not u64Diff
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@22958 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/r3/linux/semevent-linux.cpp')
| -rw-r--r-- | src/VBox/Runtime/r3/linux/semevent-linux.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/VBox/Runtime/r3/linux/semevent-linux.cpp b/src/VBox/Runtime/r3/linux/semevent-linux.cpp index cf1b914b60b..cd1393269e2 100644 --- a/src/VBox/Runtime/r3/linux/semevent-linux.cpp +++ b/src/VBox/Runtime/r3/linux/semevent-linux.cpp @@ -251,14 +251,14 @@ static int rtSemEventWait(RTSEMEVENT EventSem, unsigned cMillies, bool fAutoResu /* adjust the relative timeout */ if (pTimeout) { - int64_t u64Diff = u64End - RTTimeSystemNanoTS(); - if (u64Diff < 1000) + int64_t i64Diff = u64End - RTTimeSystemNanoTS(); + if (i64Diff < 1000) { rc = VERR_TIMEOUT; break; } - ts.tv_sec = u64Diff / 1000000000; - ts.tv_nsec = u64Diff % 1000000000; + ts.tv_sec = i64Diff / 1000000000; + ts.tv_nsec = i64Diff % 1000000000; } } |
