summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feeds.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/feeds.c b/src/feeds.c
index a8cbf47a..7b679dc1 100644
--- a/src/feeds.c
+++ b/src/feeds.c
@@ -275,7 +275,8 @@ static void save_Feeds_(iFeeds *d) {
275 if (open_File(f, write_FileMode | text_FileMode)) { 275 if (open_File(f, write_FileMode | text_FileMode)) {
276 lock_Mutex(d->mtx); 276 lock_Mutex(d->mtx);
277 iString *str = new_String(); 277 iString *str = new_String();
278 format_String(str, "%llu\n# Feeds\n", integralSeconds_Time(&d->lastRefreshedAt)); 278 format_String(str, "%llu\n# Feeds\n", (unsigned long long)
279 integralSeconds_Time(&d->lastRefreshedAt));
279 write_File(f, utf8_String(str)); 280 write_File(f, utf8_String(str));
280 /* Index of feeds for IDs. */ { 281 /* Index of feeds for IDs. */ {
281 iConstForEach(PtrArray, i, listSubscriptions_()) { 282 iConstForEach(PtrArray, i, listSubscriptions_()) {
@@ -296,8 +297,8 @@ static void save_Feeds_(iFeeds *d) {
296 } 297 }
297 format_String(str, "%x\n%llu\n%llu\n%s\n%s\n", 298 format_String(str, "%x\n%llu\n%llu\n%s\n%s\n",
298 entry->bookmarkId, 299 entry->bookmarkId,
299 integralSeconds_Time(&entry->posted), 300 (unsigned long long) integralSeconds_Time(&entry->posted),
300 integralSeconds_Time(&entry->discovered), 301 (unsigned long long) integralSeconds_Time(&entry->discovered),
301 cstr_String(&entry->url), 302 cstr_String(&entry->url),
302 cstr_String(&entry->title)); 303 cstr_String(&entry->title));
303 write_File(f, utf8_String(str)); 304 write_File(f, utf8_String(str));