msvc_dirent.cc: Fix WIN64 compatibility
commitec9fcd6e3e64b46d67ab0c580cf7712c937df476
authorOlly Betts <olly@survex.com>
Sun, 1 Apr 2018 11:14:52 +0000 (1 23:14 +1200)
committerOlly Betts <olly@survex.com>
Sun, 1 Apr 2018 11:51:12 +0000 (1 23:51 +1200)
tree9a7ed7e9b343b1d532807855f9de518089a65e79
parent0c31e5178cd88e208762556d3c91b8a895a14814
msvc_dirent.cc: Fix WIN64 compatibility

_findfirst() returns intptr_t but it was being stored in a long.
Under WIN64, that results in truncating a 64-bit value to 32-bits
which was causing some replication testcases to fail.
xapian-core/common/msvc_dirent.cc