diff options
author | Mataes <mataes2007@gmail.com> | 2018-12-08 18:46:30 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-12-08 18:46:50 +0300 |
commit | b460f81984603c537b69eb9340e1236fbd74dc5c (patch) | |
tree | 7eb133ed9e6a684523dc739656f82a6889b97ae5 /plugins/NewsAggregator/Src/CheckFeed.cpp | |
parent | 3fde828aa82d85a52ea32af85104fd97ed0257e8 (diff) |
NewsAggregator: few warnings fix
Diffstat (limited to 'plugins/NewsAggregator/Src/CheckFeed.cpp')
-rw-r--r-- | plugins/NewsAggregator/Src/CheckFeed.cpp | 6 |
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)
|