Add ULL suffix to nanoseconds constant..

This commit is contained in:
Danny Robson 2011-09-07 21:51:42 +10:00
parent d6f0fd956c
commit 14597ebba2

View File

@ -29,5 +29,5 @@ util::nanoseconds (void) {
struct timespec t;
clock_gettime (CLOCK_REALTIME, &t);
return t.tv_sec * 1000000000 + t.tv_nsec;
return t.tv_sec * 1000000000ULL + t.tv_nsec;
}