Fixed GCC/Clang warnings.