Commit a4a4d9a
committed
TELCORE-120: fix mod_xml_rpc 2019 in_addr_t/in_addr ptr-type bug for gcc 14
Bundled libs/xmlrpc-c declares
ServerCreate(... struct in_addr * const addrP, ...)
but the 2019 telnyx fork patch (cf68bd0) backing IP-bind support declared
the local as in_addr_t (a uint32_t) and passed &addr. gcc <= 13 reported this
as -Wincompatible-pointer-types (warning); gcc 14 (Debian Trixie default)
promotes it to a hard error. Wire behavior is unchanged - struct in_addr is
just { uint32_t s_addr; } - we just store the address through s_addr now.1 parent 6e643f4 commit a4a4d9a
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
1343 | | - | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
1344 | 1349 | | |
1345 | 1350 | | |
1346 | 1351 | | |
| |||
1353 | 1358 | | |
1354 | 1359 | | |
1355 | 1360 | | |
1356 | | - | |
| 1361 | + | |
1357 | 1362 | | |
1358 | 1363 | | |
1359 | 1364 | | |
| |||
0 commit comments