ref: f99336d8666fb2dc45260feb682ce8954abc4918
parent: e4a9c7f8e41b1ffd2fefe6f91b65e4f74b316349
author: Martin Storsjö <[email protected]>
date: Sun May 4 10:53:36 EDT 2014
Don't compare a boolean to an integer This avoids a warning when building with MSVC.
--- a/test/processing/ProcessUT_ScrollDetection.cpp
+++ b/test/processing/ProcessUT_ScrollDetection.cpp
@@ -73,7 +73,7 @@
EXPECT_EQ(ret,0);
pTest->Get(iMethodIdx, (&sScrollDetectionResult));
- EXPECT_EQ(sScrollDetectionResult.bScrollDetectFlag,1);
+ EXPECT_EQ(sScrollDetectionResult.bScrollDetectFlag,true);
EXPECT_EQ(sScrollDetectionResult.iScrollMvY,iScrollMv);
delete pTest;