Fixed GCC's warnings