gcc warning fix