From d90fe4d921affc05fa77e4b3d554bc43d71d9b42 Mon Sep 17 00:00:00 2001 From: slotwin Date: Sat, 7 Feb 2015 21:13:54 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@12047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/ctrl_annivedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/UserInfoEx/src') 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); } -- cgit v1.2.3