From c87bd2d365b297129cad9cc888daaa2cd843652e Mon Sep 17 00:00:00 2001 From: David Welch Date: Tue, 6 Feb 2001 20:17:35 +0000 Subject: [PATCH] More FAT32 fixes svn path=/trunk/; revision=1609 --- reactos/drivers/fs/vfat/fat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/fs/vfat/fat.c b/reactos/drivers/fs/vfat/fat.c index 865b09568ca..36c51753fcd 100644 --- a/reactos/drivers/fs/vfat/fat.c +++ b/reactos/drivers/fs/vfat/fat.c @@ -1,5 +1,5 @@ /* - * $Id: fat.c,v 1.17 2001/02/06 00:41:19 dwelch Exp $ + * $Id: fat.c,v 1.18 2001/02/06 20:17:35 dwelch Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -62,7 +62,7 @@ Fat32GetNextCluster (PDEVICE_EXTENSION DeviceExt, } } - CurrentCluster = *((PUSHORT)BaseAddress + (FATOffset % PAGESIZE)); + CurrentCluster = *(PULONG)(BaseAddress + (FATOffset % PAGESIZE)); if (CurrentCluster >= 0xffffff8 && CurrentCluster <= 0xfffffff) CurrentCluster = 0xffffffff; CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);