Fix bad casting 68/127568/1
authorJiwoong Im <jiwoong.im@samsung.com>
Fri, 28 Apr 2017 01:43:53 +0000 (10:43 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Fri, 28 Apr 2017 01:43:53 +0000 (10:43 +0900)
commitfb9050c928d05867df3cb9fcbff306887372a13e
treeda84b69a5f63d9ce4a42afcf77648698e0a965f6
parent0c7cc57d5cbe941821d3764434fd108ea105edfc
Fix bad casting

- Casting smaller size variable to bigger size variable can lead to
  out-of-bounds memory access when dereferenced.

Change-Id: I89c26b3290a4159ac8f7c9932e0bd77d7928709e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
src/alarm-lib-stub.c