Use NULL not 0.