Fix a bunch of gcc44 conversion warnings.