Avoid MSVC warning C4312
commita87b32a8ef0afa0652cc494b2466c7fbe539fd97
authorOlly Betts <olly@survex.com>
Mon, 24 Jul 2023 21:23:57 +0000 (25 09:23 +1200)
committerOlly Betts <olly@survex.com>
Sun, 30 Jul 2023 04:25:51 +0000 (30 16:25 +1200)
treef85ad6b78a0cb8aef8bc9d821b081dc45391574f
parenta928b1db1b3b07415bdd06ae7f0b4bcb99ca5b41
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.

(cherry picked from commit 414c5316c52d2e531d975f580e42d42478fc9a6b)
xapian-core/common/socket_utils.cc