Fix a type conversion warning on OS X.

Refs #10371
Merge branch 'feature/10371_osx_proxy_issue' into develop