From 3cdf4b547d88015463966a9a86011934932b6b36 Mon Sep 17 00:00:00 2001 From: Daniel Richman Date: Fri, 24 Aug 2012 02:37:22 +0100 Subject: [PATCH] Make conversion to json integer type explicit --- src/Uploader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uploader.cxx b/src/Uploader.cxx index 7aa3f4e..081b908 100644 --- a/src/Uploader.cxx +++ b/src/Uploader.cxx @@ -254,7 +254,7 @@ vector *Uploader::flights() map options; Json::Value startkey(Json::arrayValue); - startkey.append((long long int) time(NULL)); + startkey.append((Json::Int64) time(NULL)); options["include_docs"] = "true"; options["startkey"] = CouchDB::Database::json_query_value(startkey);