Cast status int to pointer to avoid warnings