fixed an intelligent gcc warning