Fixed C++11 Errors

Fixed error saying " error: narrowing conversion of ‘W’ from ‘int’ to
‘short int’ inside { }". This is a new C++11 error .