contrib/python-zstandard/c-ext/constants.c
changeset 31796 e0dc40530c5a
parent 30822 b54a2984cdd4
child 37495 b1fb341d8a61
--- a/contrib/python-zstandard/c-ext/constants.c	Sat Apr 01 13:43:52 2017 -0700
+++ b/contrib/python-zstandard/c-ext/constants.c	Sat Apr 01 15:24:03 2017 -0700
@@ -41,7 +41,7 @@
 	PyTuple_SetItem(zstdVersion, 0, PyLong_FromLong(ZSTD_VERSION_MAJOR));
 	PyTuple_SetItem(zstdVersion, 1, PyLong_FromLong(ZSTD_VERSION_MINOR));
 	PyTuple_SetItem(zstdVersion, 2, PyLong_FromLong(ZSTD_VERSION_RELEASE));
-	Py_IncRef(zstdVersion);
+	Py_INCREF(zstdVersion);
 	PyModule_AddObject(mod, "ZSTD_VERSION", zstdVersion);
 
 	frameHeader = PyBytes_FromStringAndSize(frame_header, sizeof(frame_header));