Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous

This commit is contained in:
Jonathan "Duke" Leto
2018-07-25 21:33:01 -07:00
parent 5d60a3571e
commit b456e6262b
2 changed files with 2 additions and 2 deletions

View File

@@ -1028,7 +1028,7 @@ UniValue getsnapshot(const UniValue& params, bool fHelp)
}
result = komodo_snapshot();
if ( result.size() > 0 ) {
result.push_back(Pair("end_time", time(NULL)));
result.push_back(Pair("end_time", (int) time(NULL)));
} else {
result.push_back(Pair("error", "no addressindex"));
}