Fix typecast warnings