From: Mike Brady Date: Sat, 26 Mar 2016 21:36:40 +0000 (+0000) Subject: Add type check comment. X-Git-Tag: 2.9.5.2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3986855dd95f02c83466d2aa0f7db8584096316;p=thirdparty%2Fshairport-sync.git Add type check comment. --- diff --git a/common.c b/common.c index f39c746b..bc077732 100644 --- a/common.c +++ b/common.c @@ -478,7 +478,7 @@ uint64_t get_absolute_time_in_fp() { struct timespec tn; // can't use CLOCK_MONOTONIC_RAW as it's not implemented in OpenWrt clock_gettime(CLOCK_MONOTONIC, &tn); - time_now_fp = ((uint64_t)tn.tv_sec << 32) + ((uint64_t)tn.tv_nsec << 32) / 1000000000; + time_now_fp = ((uint64_t)tn.tv_sec << 32) + ((uint64_t)tn.tv_nsec << 32) / 1000000000; // types okay #endif #ifdef COMPILE_FOR_OSX uint64_t time_now_mach;