use correct format specifier.

This commit is contained in:
Joris Vink 2021-08-27 10:06:45 +02:00
parent 55aaef875d
commit 355cf87b93
1 changed files with 1 additions and 1 deletions

View File

@ -5744,7 +5744,7 @@ python_kore_curl_setopt(struct pycurl_data *data, long opt, PyObject *value)
} }
if (py_curlopt[i].name == NULL) { if (py_curlopt[i].name == NULL) {
PyErr_Format(PyExc_RuntimeError, "invalid option '%d'", opt); PyErr_Format(PyExc_RuntimeError, "invalid option '%ld'", opt);
return (NULL); return (NULL);
} }