pass: parser: Replace with bool data type to prevent mismatched type casting 51/277351/1
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 5 Jul 2022 10:11:15 +0000 (19:11 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 5 Jul 2022 10:17:10 +0000 (19:17 +0900)
commite96eeca5255064761ee920da0359189d0af36f54
treeeba1c07e389479ce69da986ba774e08f39fa6d8e
parente64636438edeb8b842d8ea56cd2cc1d18ebcca97
pass: parser: Replace with bool data type to prevent mismatched type casting

Until now, even if use DATA_TYPE_BOOLEN, use 'int' variable type.
It might cause the unknown issue by mismatched type casting
on get_property() fucntion. In order to prevent the wrong type casting,
replace with bool data type instead of integer type.

Change-Id: I51791d72579afc97b73b6a67d9a9711c21c033f4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-parser.c
src/pmqos/pmqos-parser.c
src/thermal/thermal-parser.c