Fixed gcc warning