Fixed wrong typecasts.

1 file changed