Index: /trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp	(revision 25649)
+++ /trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp	(revision 25650)
@@ -30,5 +30,5 @@
 
 #include <features.h>
-#if __GLIBC_PREREQ(2,6) && !defined(IPRT_WITH_FUTEX_BASED_SEMS)
+#if __GLIBC_PREREQ(2,6) && !defined(IPRT_WITH_FUTEX_BASED_SEMS) && !defined(DEBUG_bird)
 
 /*
@@ -238,6 +238,6 @@
             return VERR_TIMEOUT;
         ts.tv_sec  = cMillies / 1000;
-        ts.tv_nsec = (cMillies % 1000) * 1000000;
-        u64End = RTTimeSystemNanoTS() + cMillies * 1000000;
+        ts.tv_nsec = (cMillies % 1000) * UINT32_C(1000000);
+        u64End = RTTimeSystemNanoTS() + cMillies * UINT64_C(1000000);
         pTimeout = &ts;
     }
@@ -309,6 +309,6 @@
                 break;
             }
-            ts.tv_sec  = i64Diff / 1000000000;
-            ts.tv_nsec = i64Diff % 1000000000;
+            ts.tv_sec  = (uint64_t)i64Diff / UINT32_C(1000000000);
+            ts.tv_nsec = (uint64_t)i64Diff % UINT32_C(1000000000);
         }
     }
