Commit 40065a2
committed
fix type of S_unwind_scan_frames
This function is registered with SAVEDESTRUCTOR_X, so its type must be
'void (pTHX_ void *)' exactly. (Also, there is no point in declaring p
pointer-to-const since we cast away 'const' three lines down anyway.)
I don't know if this change has any practical impact, but it shows up in
ASan output:
scope.c:1543:13: runtime error: call to function S_unwind_scan_frames through pointer to incorrect function type 'void (*)(struct interpreter *, void *)'1 parent cf50778 commit 40065a2
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5679 | 5679 | | |
5680 | 5680 | | |
5681 | 5681 | | |
5682 | | - | |
| 5682 | + | |
5683 | 5683 | | |
5684 | 5684 | | |
5685 | 5685 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments