Commit f18a1f4
committed
Use 'int' type for backtrace() return value
The libc backtrace() API uses 'int' type for "number of pointers"
return value, and backtrace_symbols_fd() accepts this value as
argument in 'int' type, too. Using size_t would unnecessarily generate
a "-Wshorten-64-to-32" warning in Clang 19.1 parent 5c6339b commit f18a1f4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
1264 | | - | |
| 1263 | + | |
| 1264 | + | |
1265 | 1265 | | |
1266 | 1266 | | |
1267 | 1267 | | |
| |||
0 commit comments