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
@@ -284,7 +284,7 @@ uORB::DeviceNode::publish(const orb_metadata *meta, orb_advert_t handle, const v
{
//warnx("uORB::DeviceNode::publish meta = %p", meta);
if (handle == 0) {
if (handle == nullptr) {
warnx("uORB::DeviceNode::publish called with invalid handle");
errno = EINVAL;
return ERROR;