https://git.reactos.org/?p=reactos.git;a=commitdiff;h=78e5caaec2ae983794f3a…
commit 78e5caaec2ae983794f3ab01ab234a1ef7d1882d
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Wed Oct 11 08:38:26 2017 +0200
[RDBSS] Fix broken cast when comparing DFS magic values
CID 1419139
---
sdk/lib/drivers/rdbsslib/rdbss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/drivers/rdbsslib/rdbss.c b/sdk/lib/drivers/rdbsslib/rdbss.c
index 0163a2425d..4591f3bd72 100644
--- a/sdk/lib/drivers/rdbsslib/rdbss.c
+++ b/sdk/lib/drivers/rdbsslib/rdbss.c
@@ -4946,7 +4946,7 @@ RxCreateFromNetRoot(
if (Context->pFobx != NULL)
{
/* If so, reflect this in the FOBX */
- if (NodeType(FileObject->FsContext2) == DFS_OPEN_CONTEXT)
+ if (FileObject->FsContext2 == UIntToPtr(DFS_OPEN_CONTEXT))
{
SetFlag(Context->pFobx->Flags, FOBX_FLAG_DFS_OPEN);
}