From d8094f8602247927a39d33cbad13bdff3b2d467f Mon Sep 17 00:00:00 2001 From: xenocons Date: Thu, 14 Mar 2013 09:06:33 +1100 Subject: [PATCH] updated from L to ull for easier mingw32 builds. --- src/rt/rust_builtin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 1243d824603..6186505cb81 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -373,7 +373,7 @@ get_time(int64_t *sec, int32_t *nsec) { ul.HighPart = fileTime.dwHighDateTime; uint64_t ns_since_1601 = ul.QuadPart / 10; - const uint64_t NANOSECONDS_FROM_1601_TO_1970 = 11644473600000000u; + const uint64_t NANOSECONDS_FROM_1601_TO_1970 = 11644473600000000ull; uint64_t ns_since_1970 = ns_since_1601 - NANOSECONDS_FROM_1601_TO_1970; *sec = ns_since_1970 / 1000000; *nsec = (ns_since_1970 % 1000000) * 1000;