[NTVDM]: Fix GCC build by using _ARRAYSIZE (which is the old-school sizeof(foo)/sizeo...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 27 Sep 2015 16:12:45 +0000 (16:12 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 27 Sep 2015 16:12:45 +0000 (16:12 +0000)
svn path=/trunk/; revision=69376

reactos/subsystems/mvdm/ntvdm/hardware/disk.c

index 1c2b79f..35009c0 100644 (file)
@@ -475,8 +475,8 @@ typedef struct _DISK_MOUNT_INFO
 
 static DISK_MOUNT_INFO DiskMountInfo[MAX_DISK_TYPE] =
 {
-    {XDCFloppyDrive, ARRAYSIZE(XDCFloppyDrive), MountFDI},
-    {XDCHardDrive  , ARRAYSIZE(XDCHardDrive)  , MountHDD},
+    {XDCFloppyDrive, _ARRAYSIZE(XDCFloppyDrive), MountFDI},
+    {XDCHardDrive  , _ARRAYSIZE(XDCHardDrive)  , MountHDD},
 };
 
 PDISK_IMAGE