mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
-fixed some msvc /W4 warnings
svn path=/trunk/; revision=22924
This commit is contained in:
parent
c40550a8ca
commit
536df67dff
3 changed files with 6 additions and 6 deletions
|
@ -289,7 +289,7 @@ DateTimePageProc(HWND hwndDlg,
|
|||
SendMessage(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETRANGE, 0, MAKELONG ((short) 9999, (short) 1900));
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETPOS, 0, MAKELONG( (short) st.wYear, 0));
|
||||
|
||||
pOldWndProc = (WNDPROC) SetWindowLong(GetDlgItem(hwndDlg, IDC_TIMEPICKER), GWL_WNDPROC, (INT_PTR) DTPProc);
|
||||
pOldWndProc = (WNDPROC) SetWindowLongPtr(GetDlgItem(hwndDlg, IDC_TIMEPICKER), GWL_WNDPROC, (INT_PTR) DTPProc);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -322,7 +322,7 @@ DateTimePageProc(HWND hwndDlg,
|
|||
case WM_CTLCOLORSTATIC:
|
||||
{
|
||||
if ((HWND) lParam == GetDlgItem(hwndDlg, IDC_YEARTEXT))
|
||||
return (int) GetSysColorBrush(COLOR_WINDOW);
|
||||
return (INT_PTR) GetSysColorBrush(COLOR_WINDOW);
|
||||
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -237,7 +237,7 @@ MonthCalReload(IN PMONTHCALWND infoPtr)
|
|||
TCHAR szBuf[64];
|
||||
UINT i;
|
||||
|
||||
infoPtr->UIState = SendMessage(GetAncestor(infoPtr->hSelf,
|
||||
infoPtr->UIState = (DWORD) SendMessage(GetAncestor(infoPtr->hSelf,
|
||||
GA_PARENT),
|
||||
WM_QUERYUISTATE,
|
||||
0,
|
||||
|
@ -439,7 +439,7 @@ MonthCalPaint(IN PMONTHCALWND infoPtr,
|
|||
IN HDC hDC,
|
||||
IN LPRECT prcUpdate)
|
||||
{
|
||||
UINT x, y;
|
||||
LONG x, y;
|
||||
RECT rcCell;
|
||||
COLORREF crOldText, crOldCtrlText = CLR_INVALID;
|
||||
HFONT hOldFont;
|
||||
|
@ -993,7 +993,7 @@ MonthCalWndProc(IN HWND hwnd,
|
|||
{
|
||||
if (wParam == GWL_STYLE)
|
||||
{
|
||||
BOOL OldEnabled = infoPtr->Enabled;
|
||||
unsigned int OldEnabled = infoPtr->Enabled;
|
||||
infoPtr->Enabled = !(((LPSTYLESTRUCT)lParam)->styleNew & WS_DISABLED);
|
||||
|
||||
if (OldEnabled != infoPtr->Enabled)
|
||||
|
|
|
@ -135,7 +135,7 @@ CPlApplet(HWND hwndCpl,
|
|||
}
|
||||
|
||||
|
||||
BOOL STDCALL
|
||||
BOOL WINAPI
|
||||
DllMain(HINSTANCE hinstDLL,
|
||||
DWORD dwReason,
|
||||
LPVOID lpReserved)
|
||||
|
|
Loading…
Reference in a new issue