replace all %lld instances

This commit is contained in:
Jean-Francois Dockes
2015-10-03 17:25:17 +02:00
parent fed748b190
commit d942242047
10 changed files with 35 additions and 48 deletions
+1 -3
View File
@@ -34,11 +34,9 @@ using std::list;
// The U distinguishes udi-based entries from older fn+ipath ones
bool RclDHistoryEntry::encode(string& value)
{
char chartime[30];
sprintf(chartime,"%lld", (long long)unixtime);
string budi;
base64_encode(udi, budi);
value = string("U ") + string(chartime) + " " + budi;
value = string("U ") + lltodecstr(unixtime) + " " + budi;
return true;
}