mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
tst: memfs: minor fix
This commit is contained in:
parent
eb2000a194
commit
fd7b12bb61
@ -424,10 +424,10 @@ static NTSTATUS GetSecurityByName(FSP_FILE_SYSTEM *FileSystem,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(MEMFS_NAMED_STREAMS)
|
#if defined(MEMFS_NAMED_STREAMS)
|
||||||
UINT32 FileAttributesMask = ~0;
|
UINT32 FileAttributesMask = ~(UINT32)0;
|
||||||
if (0 != FileNode->MainFileNode)
|
if (0 != FileNode->MainFileNode)
|
||||||
{
|
{
|
||||||
FileAttributesMask = ~FILE_ATTRIBUTE_DIRECTORY;
|
FileAttributesMask = ~(UINT32)FILE_ATTRIBUTE_DIRECTORY;
|
||||||
FileNode = FileNode->MainFileNode;
|
FileNode = FileNode->MainFileNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user