libaurum: fix type for calculating without miss casting 79/291679/1
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 20 Apr 2023 07:16:20 +0000 (16:16 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Thu, 20 Apr 2023 07:16:20 +0000 (16:16 +0900)
Change-Id: I1eb1c1a5fba05211828a23a2ffbf89151629db0b

libaurum/src/Impl/TizenDeviceImpl.cc

index 84ac438..d09c823 100644 (file)
@@ -180,7 +180,7 @@ int TizenDeviceImpl::stopTimer(void)
 bool TizenDeviceImpl::drag(const int sx, const int sy, const int ex, const int ey,
                          const int steps, const int durationMs)
 {
-    unsigned int _stepUs;
+    int _stepUs;
     int _durationUs, _steps;
     int consumptionUs;