elementary: Fix a potensional overflowing
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 12 Apr 2018 02:07:53 +0000 (11:07 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 20 Apr 2018 11:38:15 +0000 (20:38 +0900)
commit6b7bc51c785743db35539ce701cb6438bfecaed3
treeca75ad13ceacba2c11347afa4827ef0d1dd75e37
parent46b69353f149a48e53ed2b1625000215f9c02a68
elementary: Fix a potensional overflowing

both tv_sec and 100000000 are evaluated using 32bit arithmetic
this patch cast tv_sec to 64bit integer to avoid the overflowing

Change-Id: I93d96c94c4ed20d24c197a94b370eea28bd79791
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
src/bin/elementary/test_scroller.c