summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/CheckFeed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewsAggregator/Src/CheckFeed.cpp')
-rw-r--r--plugins/NewsAggregator/Src/CheckFeed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp
index 9371609b63..6b5ee1afac 100644
--- a/plugins/NewsAggregator/Src/CheckFeed.cpp
+++ b/plugins/NewsAggregator/Src/CheckFeed.cpp
@@ -394,7 +394,7 @@ void CheckCurrentFeed(MCONTACT hContact)
double deltaupd = difftime(time(0), stamp);
double deltacheck = difftime(time(0), (time_t)g_plugin.getDword(hContact, "LastCheck"));
if (deltaupd - deltacheck >= 0) {
- g_plugin.setDword(hContact, "LastCheck", time(0));
+ g_plugin.setDword(hContact, "LastCheck", (DWORD)time(0));
xmlDestroyNode(hXml);
return;
}
@@ -527,7 +527,7 @@ void CheckCurrentFeed(MCONTACT hContact)
double deltaupd = difftime(time(0), stamp);
double deltacheck = difftime(time(0), (time_t)g_plugin.getDword(hContact, "LastCheck"));
if (deltaupd - deltacheck >= 0) {
- g_plugin.setDword(hContact, "LastCheck", time(0));
+ g_plugin.setDword(hContact, "LastCheck", (DWORD)time(0));
xmlDestroyNode(hXml);
return;
}
@@ -600,7 +600,7 @@ void CheckCurrentFeed(MCONTACT hContact)
xmlDestroyNode(hXml);
}
}
- g_plugin.setDword(hContact, "LastCheck", time(0));
+ g_plugin.setDword(hContact, "LastCheck", (DWORD)time(0));
}
void CheckCurrentFeedAvatar(MCONTACT hContact)