diff --git a/VERSION b/VERSION index d7fef7af..8fabc1b4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-134-g5d39b6160a+1 \ No newline at end of file +B1-135-g6e62ea5364+1 \ No newline at end of file diff --git a/common/include/common/time.h b/common/include/common/time.h index d59862a0..ece0baae 100644 --- a/common/include/common/time.h +++ b/common/include/common/time.h @@ -51,7 +51,7 @@ static inline uint64_t nanotime() { struct timespec time; clock_gettime(CLOCK_MONOTONIC_RAW, &time); - return ((uint64_t)time.tv_sec * 1e9) + time.tv_nsec; + return ((uint64_t)time.tv_sec * 1000000000LL) + time.tv_nsec; } static inline void nsleep(uint64_t ns)