Change types to stop compiler warnings