Kaydet (Commit) 0e0ee598 authored tarafından Neal Norwitz's avatar Neal Norwitz

#544265, Remove warnings for passing const to free()

üst 2a7ff35a
......@@ -270,7 +270,7 @@ set_completer_delims(PyObject *self, PyObject *args)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment