Fixed GCC warnings