[Python-checkins] cpython: Issue #26588: Fix compilation warning on Windows

victor.stinner python-checkins at python.org
Mon Mar 21 18:05:21 EDT 2016


https://hg.python.org/cpython/rev/98a1c8cb882f
changeset:   100641:98a1c8cb882f
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Mar 21 23:05:08 2016 +0100
summary:
  Issue #26588: Fix compilation warning on Windows

files:
  Modules/_tracemalloc.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -247,7 +247,7 @@
 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;

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list