diff options
author | slotwin <slotwin@users.noreply.github.com> | 2015-02-07 21:13:54 +0000 |
---|---|---|
committer | slotwin <slotwin@users.noreply.github.com> | 2015-02-07 21:13:54 +0000 |
commit | d90fe4d921affc05fa77e4b3d554bc43d71d9b42 (patch) | |
tree | b19aee51563ee390c6788503db18f20ca9201988 /plugins/UserInfoEx/src/ctrl_annivedit.cpp | |
parent | 65ef9d3aaa306361f039679fcf73cdfbf10ec6b4 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@12047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_annivedit.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/ctrl_annivedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_annivedit.cpp b/plugins/UserInfoEx/src/ctrl_annivedit.cpp index a2f4a44de6..5bec3bdfea 100644 --- a/plugins/UserInfoEx/src/ctrl_annivedit.cpp +++ b/plugins/UserInfoEx/src/ctrl_annivedit.cpp @@ -248,7 +248,7 @@ INT_PTR CAnnivEditCtrl::DeleteDate(WORD wIndex) }
_pDates[wIndex]->RemindOption(BST_INDETERMINATE);
- _pDates[wIndex]->RemindOffset((BYTE)-1);
+ _pDates[wIndex]->RemindOffset((WORD)-1);
_pDates[wIndex]->RemoveFlags(MAnnivDate::MADF_HASCUSTOM);
_pDates[wIndex]->SetFlags(MAnnivDate::MADF_CHANGED|MAnnivDate::MADF_REMINDER_CHANGED);
@@ -548,7 +548,7 @@ void CAnnivEditCtrl::OnReminderChecked() }
else if (IsDlgButtonChecked(_hwndDlg, RADIO_REMIND2))
{
- if (pCurrent->RemindOffset() == (BYTE)-1)
+ if (pCurrent->RemindOffset() == (WORD)-1)
{
_itot(db_get_b(NULL, MODNAME, SET_REMIND_OFFSET, DEFVAL_REMIND_OFFSET), buf, 10);
}
|