eliminated warning C4267
Merge pull request #1848 from ilya-lavrenov:warn