diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-16 14:54:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-17 12:55:03 +1000 |
commit | e82354bbd63e090ed9c2474dc5914b8832de2815 (patch) | |
tree | 5287c3c3fd29848a546eae8222e367109e080437 | |
parent | ad25127c6ae902daa5af196a0607fa2ed88f301a (diff) |
examples: fix compiler warning
../gtest/include/gtest/gtest.h:18470:136: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ef25a6b6f3f387a119ab9261f37479fe415702d4)
-rw-r--r-- | examples/xorg-gtest-example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xorg-gtest-example.cpp b/examples/xorg-gtest-example.cpp index 32d575d..4e9b6bb 100644 --- a/examples/xorg-gtest-example.cpp +++ b/examples/xorg-gtest-example.cpp @@ -13,6 +13,6 @@ using namespace xorg::testing; */ TEST_F(Test, DummyXorgServerTest) { - EXPECT_NE(0, DefaultRootWindow(Display())); + EXPECT_NE((Window)None, DefaultRootWindow(Display())); } |