Enable -Wconversion for core and fix the warnings.

This should help avoid issue 33 in the future.
5 files changed