Fix warnings

Hi folks - these address warnings I am seeing on Xcode 6.1. I think the changes are pretty innocuous.