From 6813ed49bb0665ec3e1906979edee90732ffbc60 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 31 Dec 2016 16:18:13 +0100 Subject: [PATCH] Unittest: fix compiler warning: signed unsigned mismatch. --- test/unit/utMetadata.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/utMetadata.cpp b/test/unit/utMetadata.cpp index 61bff38..08255d7 100644 --- a/test/unit/utMetadata.cpp +++ b/test/unit/utMetadata.cpp @@ -75,7 +75,7 @@ TEST_F( utMetadata, allocTest ) { data = aiMetadata::Alloc( 1 ); EXPECT_NE( nullptr, data ); - EXPECT_EQ( 1, data->mNumProperties ); + EXPECT_EQ( 1U, data->mNumProperties ); EXPECT_NE( nullptr, data->mKeys ); EXPECT_NE( nullptr, data->mValues ); } @@ -177,3 +177,4 @@ TEST_F( utMetadata, get_set_aiVector3D_Test ) { EXPECT_EQ( vec, result ); EXPECT_TRUE( success ); } + -- 2.7.4