Make conversion to json integer type explicit

pull/1/merge
Daniel Richman 2012-08-24 02:37:22 +01:00
rodzic 57cc869fac
commit 3cdf4b547d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -254,7 +254,7 @@ vector<Json::Value> *Uploader::flights()
map<string,string> 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);