Fix two gcc warnings.