File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ _io__Buffered___sizeof___impl(buffered *self)
454454static int
455455buffered_traverse (PyObject * op , visitproc visit , void * arg )
456456{
457- buffered * self = ( buffered * ) op ;
457+ buffered * self = buffered_CAST ( op ) ;
458458 Py_VISIT (Py_TYPE (self ));
459459 Py_VISIT (self -> raw );
460460 Py_VISIT (self -> dict );
Original file line number Diff line number Diff line change @@ -7969,10 +7969,9 @@ pickle_clear(PyObject *m)
79697969}
79707970
79717971static void
7972- pickle_free (void * arg )
7972+ pickle_free (void * m )
79737973{
7974- PyObject * m = (PyObject * )arg ;
7975- _Pickle_ClearState (_Pickle_GetState (m ));
7974+ _Pickle_ClearState (_Pickle_GetState ((PyObject * )m ));
79767975}
79777976
79787977static int
Original file line number Diff line number Diff line change @@ -1249,7 +1249,7 @@ _extensions_cache_init(void)
12491249 hashtable_hash_str ,
12501250 hashtable_compare_str ,
12511251 hashtable_destroy_str , // key
1252- ( _Py_hashtable_destroy_func ) del_extensions_cache_value , // value
1252+ del_extensions_cache_value , // value
12531253 & alloc
12541254 );
12551255 if (EXTENSIONS .hashtable == NULL ) {
You can’t perform that action at this time.
0 commit comments