Fixed warning in g++