From 37acd375d6e7476f4eb55a25c4ddb6ddeca9d6c8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 16 Nov 2015 18:10:40 -0800 Subject: [PATCH] Fix 64-bit int warning. --- service/ClusterGeoIpService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/ClusterGeoIpService.cpp b/service/ClusterGeoIpService.cpp index 5e4780b40..f646fe994 100644 --- a/service/ClusterGeoIpService.cpp +++ b/service/ClusterGeoIpService.cpp @@ -44,8 +44,8 @@ #include "../node/Utils.hpp" #include "../osdep/OSUtils.hpp" -// Same as in cluster-geo.js but unlike cluster-geo this cache is volatile -#define ZT_CLUSTERGEOIPSERVICE_INTERNAL_CACHE_TTL (60 * 60 * 24 * 120 * 1000) +// 120 days +#define ZT_CLUSTERGEOIPSERVICE_INTERNAL_CACHE_TTL 10368000000ULL namespace ZeroTier {