summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-14 03:49:28 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-14 13:48:56 +0000
commit8795c5f987e2bd716d59a96418f1c7f6f9e83839 (patch)
treee3650c76847df0871e853964a9c54c16757b2205 /third_party
parent94d98ddd863279d5bf811d0107d73c373380dda2 (diff)
Avoid casting back and forth between void-ptr.
In windows network code, we implement inet_pton and inet_ntop, which take void pointers. We can do slightly better because we already know the type when we call these functions, so we can avoid casting between void pointer and the addr struct types.
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions