From 4171f54c41b0af246ed87b177700ac37f8843fe6 Mon Sep 17 00:00:00 2001 From: an-tao <20741618@qq.com> Date: Tue, 9 Oct 2018 20:12:47 +0800 Subject: [PATCH] Fix a compiling warning --- lib/src/Utilities.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Utilities.cc b/lib/src/Utilities.cc index fcf7deff..da227b76 100755 --- a/lib/src/Utilities.cc +++ b/lib/src/Utilities.cc @@ -311,7 +311,7 @@ namespace drogon{ //rfc2616-3.3.1 //Full Date format like this:Sun, 06 Nov 1994 08:49:37 GMT // Wed, 12 Sep 2018 09:22:40 GMT - static __thread uint64_t lastSecond=0; + static __thread int64_t lastSecond=0; static __thread char lastTimeString[128]={0}; auto nowSecond=date.microSecondsSinceEpoch()/MICRO_SECONDS_PRE_SEC; if(nowSecond==lastSecond)