Fixed clang warnings

Signed-off-by: Vincent Fournié <vincent.fournie@epyx.ch>