Avoid MSVC warning C4312
commit414c5316c52d2e531d975f580e42d42478fc9a6b
authorOlly Betts <olly@survex.com>
Mon, 24 Jul 2023 21:23:57 +0000 (25 09:23 +1200)
committerOlly Betts <olly@survex.com>
Mon, 24 Jul 2023 21:23:57 +0000 (25 09:23 +1200)
tree0643db54d94691fdbae09e9c0a5080075290d1f5
parent34dd5b2f384b2e3f195a12b25662e38d4bab4b41
Avoid MSVC warning C4312

This is a reasonable warning in general, but in this case we checked
that the value wasn't truncated when cast to an int.
xapian-core/common/socket_utils.cc