maskit opened a new pull request #8331:
URL: https://github.com/apache/trafficserver/pull/8331
The type of `optval` argument for [get|set]sockopt is `void*`, but not
`char*`.
Some values don't fit into a `char`, and casting the pointer to `char*`
causes compile error.
```
int getsockopt(int sockfd, int level, int optname,
void *optval, socklen_t *optlen);
int setsockopt(int sockfd, int level, int optname,
const void *optval, socklen_t optlen);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]