Skip to content

Commit 54e995a

Browse files
HPCC-33617 Fix mac compile error
Signed-off-by: Richard Chapman <[email protected]>
1 parent 98058b8 commit 54e995a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/unittests/datamaskingtests.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ class DataMaskingProfileTests : public CppUnit::TestFixture
12641264
for (uint8_t version = minVersion; version <= maxVersion; version++)
12651265
{
12661266
Owned<IDataMaskingProfileContext> context(profile->createContext(version, nullptr));
1267-
CPPUNIT_ASSERT_EQUAL_MESSAGE(VStringBuffer("property acceptance mismatch for '%s' and version %hhu", name, version), expected[version - minVersion], context->inspector().acceptsProperty(name));
1267+
CPPUNIT_ASSERT_EQUAL_MESSAGE(VStringBuffer("property acceptance mismatch for '%s' and version %hhu", name, version), (bool) expected[version - minVersion], context->inspector().acceptsProperty(name));
12681268
}
12691269
}
12701270

@@ -1276,7 +1276,7 @@ class DataMaskingProfileTests : public CppUnit::TestFixture
12761276
for (uint8_t version = minVersion; version <= maxVersion; version++)
12771277
{
12781278
Owned<IDataMaskingProfileContext> context(profile->createContext(version, nullptr));
1279-
CPPUNIT_ASSERT_EQUAL_MESSAGE(VStringBuffer("property usage mismatch for '%s' and version %hhu", name, version), expected[version - minVersion], context->inspector().usesProperty(name));
1279+
CPPUNIT_ASSERT_EQUAL_MESSAGE(VStringBuffer("property usage mismatch for '%s' and version %hhu", name, version), (bool) expected[version - minVersion], context->inspector().usesProperty(name));
12801280
}
12811281
}
12821282
};

0 commit comments

Comments
 (0)