[WIN32K]
[reactos.git] / subsystems / win32 / win32k / ntuser / painting.c
index c0e0484..5ecce2f 100644 (file)
@@ -1206,7 +1206,7 @@ UserScrollDC(
       {
          return FALSE;
       }
-      hrgnVisible = ((PROSRGNDATA)pDC->prgnVis)->BaseObject.hHmgr;  // pDC->prgnRao?
+      hrgnVisible = pDC->prgnVis->BaseObject.hHmgr;  // pDC->prgnRao?
       DC_UnlockDc(pDC);
 
       /* Begin with the shifted and then clipped scroll rect */