Change code producing gcc warnings.