Fix MSVC warnings for numeric.c
Merge pull request #2141 from kyab/fix_msvc_warning_numeric.c

Fix MSVC warnings for numeric.c