Clang 3.0: Fixed warnings obtained with -Wall -Wextra -pedantic