Merge pull request #11 from anjohnson/fix-mac-build

Fix build problem on Mac
This commit is contained in:
dhickin
2015-09-01 17:00:58 +01:00

View File

@@ -538,7 +538,7 @@ static void testFieldAccess()
PVStructurePtr fld = pvDataCreate->createPVStructure(tdef);
PVIntPtr a = fld->getSubField<PVInt>("test");
testOk1(a!=NULL);
testOk1(a.get() != NULL);
if(a.get()) {
PVIntPtr b = fld->getSubFieldT<PVInt>("test");
testOk(b.get()==a.get(), "%p == %p", b.get(), a.get());
@@ -546,7 +546,7 @@ static void testFieldAccess()
testSkip(1, "test doesn't exist?");
a = fld->getSubField<PVInt>("hello.world");
testOk1(a!=NULL);
testOk1(a.get() != NULL);
if(a.get()) {
PVIntPtr b = fld->getSubFieldT<PVInt>("hello.world");
testOk(b.get()==a.get(), "%p == %p", b.get(), a.get());