fix compilation warning in clang 3.5