# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1333041004 0 # Node ID 1d3013463204c74e88cd571fb3420bbd8ede4cf5 # Parent 4506f4e31efb23d4f73bd21610a245763d1af2bd Fixed a couple warnings generated by the new OS/2 code. diff -r 4506f4e31efb -r 1d3013463204 os2/dw.c --- a/os2/dw.c Thu Mar 29 05:18:35 2012 +0000 +++ b/os2/dw.c Thu Mar 29 17:10:04 2012 +0000 @@ -2888,8 +2888,8 @@ if(origmsg == WM_CONTROL) { svar = SHORT2FROMMP(mp1); - if(!notifyhwnd && WinIsWindow(dwhab, mp2)) - notifyhwnd = mp2; + if(!notifyhwnd && WinIsWindow(dwhab, (HWND)mp2)) + notifyhwnd = (HWND)mp2; } switch(svar) @@ -3242,7 +3242,7 @@ { char tmpbuf[100]; - WinQueryClassName(mp2, 99, (PCH)tmpbuf); + WinQueryClassName((HWND)mp2, 99, (PCH)tmpbuf); /* Don't set the ownership if it's an entryfield or spinbutton */ if(strncmp(tmpbuf, "#32", 4)==0) { @@ -3258,7 +3258,7 @@ _dw_col_set(col, val); } } - if(!dw_window_get_data(mp2, "_dw_updating")) + if(!dw_window_get_data((HWND)mp2, "_dw_updating")) WinPostMsg(hWnd, WM_USER, mp1, mp2); } else