Skip to content

Commit

Permalink
bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)
Browse files Browse the repository at this point in the history
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.
  • Loading branch information
jkloth authored and vstinner committed Mar 6, 2019
1 parent bb9593a commit edad38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/pydtrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit edad38e

Please sign in to comment.