projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from amd64-branch:
[reactos.git]
/
reactos
/
drivers
/
filesystems
/
ntfs
/
attrib.c
diff --git
a/reactos/drivers/filesystems/ntfs/attrib.c
b/reactos/drivers/filesystems/ntfs/attrib.c
index
95a5af6
..
e334ba9
100644
(file)
--- a/
reactos/drivers/filesystems/ntfs/attrib.c
+++ b/
reactos/drivers/filesystems/ntfs/attrib.c
@@
-88,7
+88,7
@@
FindRun (PNONRESIDENT_ATTRIBUTE NresAttr,
*lcn = 0;
*lcn = 0;
- for (run = (PUCHAR)((ULONG)NresAttr + NresAttr->RunArrayOffset);
+ for (run = (PUCHAR)((ULONG
_PTR
)NresAttr + NresAttr->RunArrayOffset);
*run != 0; run += RunLength(run))
{
*lcn += RunLCN(run);
*run != 0; run += RunLength(run))
{
*lcn += RunLCN(run);
@@
-248,7
+248,7
@@
NtfsDumpAttribute (PATTRIBUTE Attribute)
{
Name.Length = Attribute->NameLength * sizeof(WCHAR);
Name.MaximumLength = Name.Length;
{
Name.Length = Attribute->NameLength * sizeof(WCHAR);
Name.MaximumLength = Name.Length;
- Name.Buffer = (PWCHAR)((ULONG)Attribute + Attribute->NameOffset);
+ Name.Buffer = (PWCHAR)((ULONG
_PTR
)Attribute + Attribute->NameOffset);
DbgPrint("'%wZ' ", &Name);
}
DbgPrint("'%wZ' ", &Name);
}