Please Pull Trivial Patches to Silence Clang Warnings on OS X

Hi,

Please take a look at these patches. They silence some compiler warnings from Clang on OS X (-Wall).

Thanks,

Sam