Fix clang compiler warnings.

Signed-off-by: Rob Caelers <robc@krandor.org>