Fix a couple of int conversion warnings.