fixing some strict warnings

Signed-off-by: Ondrej Rafaj <ondrej.rafaj@fuerteint.com>