Fix couple of trivial warnings reported by MSVC
[platform/upstream/VK-GL-CTS.git] / modules / egl / teglSwapBuffersTests.cpp
index b798892..52243f4 100644 (file)
@@ -438,7 +438,7 @@ SwapBuffersTests::SwapBuffersTests (EglTestContext& eglTestCtx)
 {
 }
 
-static bool isWindow (const eglu::CandidateConfig& c) { return (c.surfaceType() & EGL_WINDOW_BIT); }
+static bool isWindow (const eglu::CandidateConfig& c) { return (c.surfaceType() & EGL_WINDOW_BIT) != 0; }
 
 void SwapBuffersTests::init (void)
 {