1
0
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:
abv
2014-04-28 17:12:27 +04:00
committed by bugmaster
parent fc8eab5e09
commit eb1ebea490
4 changed files with 13 additions and 28 deletions

View File

@@ -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));