make casts explicit and fixed the type
1 file changed