commit | 0e0ee598fccac4fec66e2673a97770c286f0a1d7 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Apr 21 15:03:18 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Apr 21 15:03:18 2002 +0000 |
tree | ca1f14050f3b30bc9832650184dcf5054dc852da | |
parent | 2a7ff35a07dc61bf55e383db69682d58fcd606b3 [diff] [blame] |
#544265, Remove warnings for passing const to free()
diff --git a/Modules/readline.c b/Modules/readline.c index 44adf22..2d75ace 100644 --- a/Modules/readline.c +++ b/Modules/readline.c
@@ -270,7 +270,7 @@ if(!PyArg_ParseTuple(args, "s:set_completer_delims", &break_chars)) { return NULL; } - free(rl_completer_word_break_characters); + free((void*)rl_completer_word_break_characters); rl_completer_word_break_characters = strdup(break_chars); Py_INCREF(Py_None); return Py_None;