Fix warnings / Linaro errors

Signed-off-by: nobodyAtall <tsogkas@ceid.upatras.gr>