Fix warning: ordered comparison of pointer with integer zero 86/34186/3
authorFrancisco Santos <f1.santos@samsung.com>
Wed, 21 Jan 2015 15:48:45 +0000 (15:48 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 22 Jan 2015 15:56:46 +0000 (07:56 -0800)
Change-Id: I109f7f737bb702676331543f2317034dfd9c2ebe

adaptors/common/timer-impl.cpp

index e7ce278..34574c7 100644 (file)
@@ -79,7 +79,7 @@ Timer::~Timer()
 
 void Timer::Start()
 {
-  if(mImpl->mId > 0)
+  if(mImpl->mId != NULL)
   {
     Stop();
   }