Commit cea0f15
Alternative format specifier for %zd (pytorch#13187)
Summary:
At runtime this format specifier is not correctly handled by our toolchain's libc implementation. The misformatted string get's passed to strlen and eventually causes an assertion.
Reviewed By: JacobSzwejbka
Differential Revision: D797762661 parent e376338 commit cea0f15
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
| 751 | + | |
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
0 commit comments