diff options
author | David Carlier <dcarlier@afilias.info> | 2020-01-28 12:53:32 +0000 |
---|---|---|
committer | Petr Viktorin <encukou@gmail.com> | 2020-01-28 13:53:32 +0100 |
commit | aabdeb766b7fa581e7de01f3c953b12792f0736d (patch) | |
tree | 3ed6c4b6c00b8142775b9a996e84e3be383d3265 /Python/sysmodule.c | |
parent | 2cca8efe46935c39c445f585bce54954fad2485b (diff) | |
download | cpython-git-aabdeb766b7fa581e7de01f3c953b12792f0736d.tar.gz |
bpo-38960: DTrace build fix for FreeBSD. (GH-17451)
DTrace build fix for FreeBSD.
- allowing passing an extra flag as it need to define the arch size.
- casting some probe's arguments.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 9f866a2a3d..17e79603c2 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -204,7 +204,7 @@ PySys_Audit(const char *event, const char *argFormat, ...) /* Dtrace USDT point */ if (dtrace) { - PyDTrace_AUDIT(event, (void *)eventArgs); + PyDTrace_AUDIT((char *)event, (void *)eventArgs); } /* Call interpreter hooks */ |