mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024877: GCC 4.4.5 compiler warnings on Debian when OCCT is bult using CMake
Warnings fixed
This commit is contained in:
@@ -2153,7 +2153,7 @@ int ViewerMainLoop(Standard_Integer argc, const char** argv)
|
||||
switch (aReport.type) {
|
||||
case ClientMessage:
|
||||
{
|
||||
if(aReport.xclient.data.l[0] == GetDisplayConnection()->GetAtom(Aspect_XA_DELETE_WINDOW))
|
||||
if((Atom)aReport.xclient.data.l[0] == GetDisplayConnection()->GetAtom(Aspect_XA_DELETE_WINDOW))
|
||||
{
|
||||
// Close the window
|
||||
ViewerTest::RemoveView(FindViewIdByWindowHandle (aReport.xclient.window));
|
||||
|
Reference in New Issue
Block a user