fix MSVC CMake build

Reviewed By: genevievehelsel

Differential Revision: D44484403

fbshipit-source-id: 9ceca9a0c9deeff31727501f0b35405c781aff1a
This commit is contained in:
Chad Austin 2023-04-03 14:43:56 -07:00 committed by Facebook GitHub Bot
parent 38b4387c69
commit 76eaffa280
2 changed files with 2 additions and 2 deletions

View File

@ -4180,7 +4180,7 @@ ImmediateFuture<uint64_t> TreeInode::invalidateChildrenNotMaterialized(
// When the mount is shutting down, let's make sure to terminate quickly so // When the mount is shutting down, let's make sure to terminate quickly so
// unmount is not blocked for a potential very long amount of time. // unmount is not blocked for a potential very long amount of time.
if (getMount()->getState() == EdenMount::State::SHUTTING_DOWN) { if (getMount()->getState() == EdenMount::State::SHUTTING_DOWN) {
return (uint64_t)0; return 0u;
} }
return getLoadedOrRememberedTreeChildren(this, getInodeMap(), context) return getLoadedOrRememberedTreeChildren(this, getInodeMap(), context)

View File

@ -2227,7 +2227,7 @@ ImmediateFuture<uint64_t> EdenServer::garbageCollectWorkingCopy(
if (!lease) { if (!lease) {
XLOG(DBG6) << "Not running GC for: " << mount->getPath() XLOG(DBG6) << "Not running GC for: " << mount->getPath()
<< ", another GC is already in progress"; << ", another GC is already in progress";
return (uint64_t)0; return 0u;
} }
auto mountPath = mount->getPath(); auto mountPath = mount->getPath();