Commit 359a2f3
bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (pythonGH-12179)
Cast function pointers to (void(*)(void)) before casting to (PyCFunction)
to make "warning: cast between incompatible function types" false alarm quiet.1 parent 5a02e0d commit 359a2f3
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
2456 | | - | |
| 2456 | + | |
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3109 | 3109 | | |
3110 | 3110 | | |
3111 | 3111 | | |
3112 | | - | |
| 3112 | + | |
3113 | 3113 | | |
3114 | 3114 | | |
3115 | 3115 | | |
| |||
0 commit comments