Narrowing conversion - fix for C++11.