abstime: fix time_monotonic_ms on 32bit systems

m)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7f2d58f956
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-24 (Sun, 24 Sep 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-09-24 13:55:44 +02:00
committed by Jacek Jendrzej
parent 6c326f4adb
commit 47fcbe45d7

View File

@@ -5,7 +5,7 @@
int64_t time_monotonic_ms(void) int64_t time_monotonic_ms(void)
{ {
struct timespec t; struct timespec t;
time_t ret; int64_t ret;
if (clock_gettime(CLOCK_MONOTONIC, &t)) if (clock_gettime(CLOCK_MONOTONIC, &t))
{ {
perror("time_monotonic_ms clock_gettime"); perror("time_monotonic_ms clock_gettime");