X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FWNT%2FWNT_Window.cxx;h=6051a4cecf75611a86aeab43ad02ac8f61414b68;hb=1a5007a9201098fdd8a668bc608747e94da95ce2;hpb=3818aacaa56a8c39dbeded6a540bfb40e8b1c69e diff --git a/src/WNT/WNT_Window.cxx b/src/WNT/WNT_Window.cxx index 992204303d..6051a4cecf 100644 --- a/src/WNT/WNT_Window.cxx +++ b/src/WNT/WNT_Window.cxx @@ -205,7 +205,7 @@ void WNT_Window::Unmap() const // function : DoResize // purpose : // ======================================================================= -Aspect_TypeOfResize WNT_Window::DoResize() const +Aspect_TypeOfResize WNT_Window::DoResize() { if (IsVirtual()) { @@ -259,10 +259,10 @@ Aspect_TypeOfResize WNT_Window::DoResize() const break; } // end switch - *((Standard_Integer* )&aXLeft ) = wp.rcNormalPosition.left; - *((Standard_Integer* )&aXRight ) = wp.rcNormalPosition.right; - *((Standard_Integer* )&aYTop ) = wp.rcNormalPosition.top; - *((Standard_Integer* )&aYBottom) = wp.rcNormalPosition.bottom; + aXLeft = wp.rcNormalPosition.left; + aXRight = wp.rcNormalPosition.right; + aYTop = wp.rcNormalPosition.top; + aYBottom = wp.rcNormalPosition.bottom; } return mode;