g++ warning fix