Fix sparse warnings.