summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-21 22:05:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-21 22:05:08 (GMT)
commitb32a7edb22805daa28f486271ca5052e1ad87633 (patch)
treef8167f187df2f3848683c8252efb69d30576aa37
parent285cf0a6014af147b82a3446d9e088ad0332720d (diff)
downloadcpython-b32a7edb22805daa28f486271ca5052e1ad87633.zip
cpython-b32a7edb22805daa28f486271ca5052e1ad87633.tar.gz
cpython-b32a7edb22805daa28f486271ca5052e1ad87633.tar.bz2
Issue #26588: Fix compilation warning on Windows
-rw-r--r--Modules/_tracemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
index 6799eb6..3c5319b 100644
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -247,7 +247,7 @@ raw_free(void *ptr)
static Py_uhash_t
hashtable_hash_traceback(size_t key_size, const void *pkey)
{
- const traceback_t *traceback;
+ traceback_t *traceback;
_Py_HASHTABLE_READ_KEY(key_size, pkey, traceback);
return traceback->hash;