Author: tthompson
Date: Sun Aug 27 14:43:35 2017
New Revision: 75693
URL:
http://svn.reactos.org/svn/reactos?rev=75693&view=rev
Log:
[NTFS] - Fix for C89 compliance.
Modified:
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c [iso-8859-1] Sun Aug 27
14:43:35 2017
@@ -698,6 +698,7 @@
ULONGLONG FileMftIndex;
PB_TREE Tree;
PINDEX_ROOT_ATTRIBUTE NewIndexRoot;
+ ULONG MaxIndexRootSize;
ULONG RootLength;
DPRINT1("NtfsCreateFileRecord(%p, %p, %s, %s)\n",
@@ -745,9 +746,9 @@
}
// 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,