From 91c36b8f09ff128452e3f94637b910bdff9aede0 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 7 Feb 2020 14:54:09 -0800 Subject: [PATCH] dll: FspFileSystemResolveReparsePointsInternal: fix warning --- src/dll/fsop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dll/fsop.c b/src/dll/fsop.c index ec73922e..1a1c1d58 100644 --- a/src/dll/fsop.c +++ b/src/dll/fsop.c @@ -1755,7 +1755,7 @@ reparse_data_exit: memcpy(Buffer, ReparseData, ReparseDataSize); if (IO_REPARSE_TAG_MOUNT_POINT == ReparseData->ReparseTag) - OutputReparseData->Reserved = RemainderPathSize; + OutputReparseData->Reserved = (USHORT)RemainderPathSize; PIoStatus->Status = STATUS_REPARSE; PIoStatus->Information = ReparseData->ReparseTag;