Fix possible mismatched type with several curl arguments