Try to avoid a warning on Visual C++ with stlport. Refs #4074
It would be better to use more consistent types.