From: Florian Forster Date: Tue, 14 Jul 2015 07:15:51 +0000 (+0200) Subject: src/daemon/utils_time_mock.c: Mark static return value as "ULL". X-Git-Tag: collectd-5.6.0~632 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=af8bdc613286b0ff144d7381e89e9032ac10d78e;p=collectd.git src/daemon/utils_time_mock.c: Mark static return value as "ULL". Build on i386 squeeze fails with: utils_time_mock.c:31: error: integer constant is too large for 'long' type --- diff --git a/src/daemon/utils_time_mock.c b/src/daemon/utils_time_mock.c index 2bde4d3d..217515eb 100644 --- a/src/daemon/utils_time_mock.c +++ b/src/daemon/utils_time_mock.c @@ -28,6 +28,6 @@ cdtime_t cdtime (void) { - return (1542455354518929408); + return ((cdtime_t) 1542455354518929408ULL); }