Fixed some possible typing issues that make for warnings with most good ...

...warnings enabled (https://github.com/tewha/MoreWarnings-xcconfig).