fix type cast
Merge branch 'master' of github.com:zaxbbun/cpp_proj