Use correct types to avoid unneeded conversion

Signed-off-by: Simon Busch <simon.busch@lge.com>