e_comp_wl: fix overflow issue 14/305914/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 13 Feb 2024 10:04:38 +0000 (19:04 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 13 Feb 2024 10:20:46 +0000 (19:20 +0900)
commit1d76653650a895910b4fcbc58207398a34430065
tree2991d9fbed6b967127ee0ef0b0e3082122319b8d
parent8dc7404bdbe6db392cd179606f758c1da381fae8
e_comp_wl: fix overflow issue

Expression cancel_keycode - 8U, which is equal to 4294967288, where cancel_keycode is known to be equal to 0, underflows the type that receives it, an unsigned integer 32 bits wide.

Change-Id: I3fc0178cc2159b123b5d2c637c813b958132f31f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_comp_wl.c