GCC 4.9.1: fix compile warnings

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>