diff options
Diffstat (limited to 'plugins/WhenWasIt/src')
-rw-r--r-- | plugins/WhenWasIt/src/services.cpp | 2 | ||||
-rw-r--r-- | plugins/WhenWasIt/src/stdafx.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp index 9c3770f100..b2b622dc00 100644 --- a/plugins/WhenWasIt/src/services.cpp +++ b/plugins/WhenWasIt/src/services.cpp @@ -104,7 +104,7 @@ INT_PTR CheckBirthdaysService(WPARAM, LPARAM lParam) SYSTEMTIME today;
GetLocalTime(&today);
- DWORD lastChecked = g_plugin.getDword("LastChecked", 0); //get last checked date
+ uint32_t lastChecked = g_plugin.getDword("LastChecked", 0); //get last checked date
int lcDay = LOBYTE(LOWORD(lastChecked));
int lcMonth = HIBYTE(LOWORD(lastChecked));
int lcYear = HIWORD(lastChecked);
diff --git a/plugins/WhenWasIt/src/stdafx.h b/plugins/WhenWasIt/src/stdafx.h index 080ce8256f..d9a47dc38f 100644 --- a/plugins/WhenWasIt/src/stdafx.h +++ b/plugins/WhenWasIt/src/stdafx.h @@ -75,8 +75,8 @@ extern HWND hUpcomingDlg; extern MWindowList hAddBirthdayWndsList;
struct CommonData{
- DWORD foreground;
- DWORD background;
+ uint32_t foreground;
+ uint32_t background;
int checkInterval;
int daysInAdvance;
int popupTimeout;
|