diff options
author | Jesus Cea <jcea@jcea.es> | 2011-11-08 16:28:04 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-11-08 16:28:04 (GMT) |
commit | d03a49150f1288155afa7bbd82eb3b4c0dc23351 (patch) | |
tree | 1d85db5788224f87e3036ce96335b9f86c2e5316 /Modules/posixmodule.c | |
parent | 6e533f040b906689ae22eb81eee6863181050aba (diff) | |
download | cpython-d03a49150f1288155afa7bbd82eb3b4c0dc23351.zip cpython-d03a49150f1288155afa7bbd82eb3b4c0dc23351.tar.gz cpython-d03a49150f1288155afa7bbd82eb3b4c0dc23351.tar.bz2 |
Commit 59dca1e2363d for issue #13327 introduced a compilation warning
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 49d1182..09705c8 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -10943,7 +10943,8 @@ static PyMethodDef posix_methods[] = { {"unlinkat", posix_unlinkat, METH_VARARGS, posix_unlinkat__doc__}, #endif #ifdef HAVE_UTIMENSAT - {"utimensat", posix_utimensat, METH_VARARGS | METH_KEYWORDS, + {"utimensat", (PyCFunction)posix_utimensat, + METH_VARARGS | METH_KEYWORDS, posix_utimensat__doc__}, #endif #ifdef HAVE_MKFIFOAT |