From 71fd14408989321de880c3b8e9b0308302ff61bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 8 Jul 2014 09:25:09 +0000 Subject: [PATCH] Fixed unsigned signed comparison git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1100 fdac6126-5c0c-442c-9429-916003d36597 --- src/Unittests/unittests_read_write_OBJ.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unittests/unittests_read_write_OBJ.cc b/src/Unittests/unittests_read_write_OBJ.cc index 88a370b7..ec6cbe3c 100644 --- a/src/Unittests/unittests_read_write_OBJ.cc +++ b/src/Unittests/unittests_read_write_OBJ.cc @@ -233,7 +233,7 @@ TEST_F(OpenMeshReadWriteOBJ, LoadObjWithTexture) { //check texture mapping for the mesh OpenMesh::MPropHandleT< std::map< int, std::string > > property; mesh_.get_property_handle(property, "TextureMapping"); - EXPECT_EQ(mesh_.property(property).size(), 1) << "More than one texture defined"; + EXPECT_EQ(mesh_.property(property).size(), 1u) << "More than one texture defined"; std::map< int, std::string >::iterator tex = mesh_.property(property).find(1); EXPECT_TRUE(tex != mesh_.property(property).end()) << "Could not find texture with id 1"; EXPECT_TRUE((mesh_.property(property)[1] == std::string("square_material_texture.jpg"))) << "Wrong texture name";