Correcting some warnings.

Signed-off-by: Claynon Souza <claynon@gmail.com>