From 99a97889d1ac352d2c70cad63a581024611b90d1 Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Wed, 21 Jan 2015 15:48:45 +0000 Subject: [PATCH] Fix warning: ordered comparison of pointer with integer zero Change-Id: I109f7f737bb702676331543f2317034dfd9c2ebe --- adaptors/common/timer-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptors/common/timer-impl.cpp b/adaptors/common/timer-impl.cpp index e7ce278..34574c7 100644 --- a/adaptors/common/timer-impl.cpp +++ b/adaptors/common/timer-impl.cpp @@ -79,7 +79,7 @@ Timer::~Timer() void Timer::Start() { - if(mImpl->mId > 0) + if(mImpl->mId != NULL) { Stop(); } -- 2.7.4