mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTFS] - Fix for C89 compliance.
svn path=/branches/GSoC_2016/NTFS/; revision=75693
This commit is contained in:
parent
b033f00f58
commit
9a91a51f17
1 changed files with 4 additions and 3 deletions
|
@ -698,6 +698,7 @@ NtfsCreateDirectory(PDEVICE_EXTENSION DeviceExt,
|
|||
ULONGLONG FileMftIndex;
|
||||
PB_TREE Tree;
|
||||
PINDEX_ROOT_ATTRIBUTE NewIndexRoot;
|
||||
ULONG MaxIndexRootSize;
|
||||
ULONG RootLength;
|
||||
|
||||
DPRINT1("NtfsCreateFileRecord(%p, %p, %s, %s)\n",
|
||||
|
@ -745,9 +746,9 @@ NtfsCreateDirectory(PDEVICE_EXTENSION DeviceExt,
|
|||
}
|
||||
|
||||
// Calculate maximum size of index root
|
||||
ULONG MaxIndexRootSize = DeviceExt->NtfsInfo.BytesPerFileRecord
|
||||
- ((ULONG_PTR)NextAttribute - (ULONG_PTR)FileRecord)
|
||||
- sizeof(ULONG) * 2;
|
||||
MaxIndexRootSize = DeviceExt->NtfsInfo.BytesPerFileRecord
|
||||
- ((ULONG_PTR)NextAttribute - (ULONG_PTR)FileRecord)
|
||||
- sizeof(ULONG) * 2;
|
||||
|
||||
// Create a new index record from the tree
|
||||
Status = CreateIndexRootFromBTree(DeviceExt,
|
||||
|
|
Loading…
Reference in a new issue