Use NULL instead of 0. Duh.