Commit 873a423
committed
Some methods swap the number of elements and the size arguments
For calloc, the variable denoting the of elements comes first,
then the variable denoting the size of each element. However, both
arguments are swapped when calling this function in many places in this codebase.1 parent f08f86c commit 873a423
File tree
3 files changed
+4
-4
lines changed- include/swift/SwiftRemoteMirror
- stdlib/public/runtime
- unittests/runtime
3 files changed
+4
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3638 | 3638 | | |
3639 | 3639 | | |
3640 | 3640 | | |
3641 | | - | |
| 3641 | + | |
3642 | 3642 | | |
3643 | 3643 | | |
3644 | | - | |
| 3644 | + | |
3645 | 3645 | | |
3646 | 3646 | | |
3647 | 3647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments