diff --git a/testApp/pv/testPVData.cpp b/testApp/pv/testPVData.cpp index 2358e57..1c83f88 100644 --- a/testApp/pv/testPVData.cpp +++ b/testApp/pv/testPVData.cpp @@ -538,7 +538,7 @@ static void testFieldAccess() PVStructurePtr fld = pvDataCreate->createPVStructure(tdef); PVIntPtr a = fld->getSubField("test"); - testOk1(a!=NULL); + testOk1(a.get() != NULL); if(a.get()) { PVIntPtr b = fld->getSubFieldT("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("hello.world"); - testOk1(a!=NULL); + testOk1(a.get() != NULL); if(a.get()) { PVIntPtr b = fld->getSubFieldT("hello.world"); testOk(b.get()==a.get(), "%p == %p", b.get(), a.get());