add some casts and fix the build from 64311
1 file changed