More fixups for orb_advert_t changed to void *

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-05-25 23:12:39 -07:00
committed by Lorenz Meier
parent bd2b5e4738
commit a452478ef9
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ int uORBTest::UnitTest::test()
t.val = 0;
ptopic = orb_advertise(ORB_ID(orb_test), &t);
if (ptopic == 0)
if (ptopic == nullptr)
return test_fail("advertise failed: %d", errno);
test_note("publish handle 0x%08x", ptopic);