Warning fixes. Fixes #18

Signed-off-by: marcanpilami <marsu_pilami@msn.com>