Index: wm_paint.c =================================================================== --- wm_paint.c (revision 23979) +++ wm_paint.c (working copy) @@ -92,8 +92,7 @@ // fill the client area with the background brush //HBRUSH HBrush = //reinterpret_cast - (HBRUSH)(GetClassLong(HWnd, GCL_HBRBACKGROUND) - ); + GetClassLong(HWnd, GCL_HBRBACKGROUND); FillRect(Hdc, &RClient, NULL); // render the persistent text