summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2019-03-06 09:54:12 -0700
committerVictor Stinner <vstinner@redhat.com>2019-03-06 17:54:12 +0100
commitedad38e3e05586ba58291f47756eb3fb808f5577 (patch)
treee1bea68986436fb14e4c194b70f387a62619ff1d /Include
parentbb9593af0ac835b93c2834d44b72fa34e30efed0 (diff)
downloadcpython-git-edad38e3e05586ba58291f47756eb3fb808f5577.tar.gz
bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.
Diffstat (limited to 'Include')
-rw-r--r--Include/pydtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pydtrace.h b/Include/pydtrace.h
index 037961d429..7a04278166 100644
--- a/Include/pydtrace.h
+++ b/Include/pydtrace.h
@@ -29,7 +29,7 @@ static inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2) {
static inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2) {}
static inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2) {}
static inline void PyDTrace_GC_START(int arg0) {}
-static inline void PyDTrace_GC_DONE(int arg0) {}
+static inline void PyDTrace_GC_DONE(Py_ssize_t arg0) {}
static inline void PyDTrace_INSTANCE_NEW_START(int arg0) {}
static inline void PyDTrace_INSTANCE_NEW_DONE(int arg0) {}
static inline void PyDTrace_INSTANCE_DELETE_START(int arg0) {}