userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp
changeset 254 1560c419b176
parent 199 189ece41fa29
child 291 206a6eaaeb71
--- a/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp	Tue Aug 24 14:49:21 2010 +0100
+++ b/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp	Tue Aug 31 11:31:15 2010 +0100
@@ -1067,7 +1067,7 @@
 			//  Read the remaining length or the entire cluster block whichever is smaller
 			TInt readLength = (TInt)Min((TInt64)(aLength-readTotal),(clusterListLen<<ClusterSizeLog2())-pos);
 			__ASSERT_DEBUG(readLength>0,Fault(EReadFileSectionFailed));
-			TInt64 dataAddress=(FAT().DataPositionInBytes(cluster))+pos;
+			TInt64 dataAddress=(FAT().DataPositionInBytesL(cluster))+pos;
 			iRawDisk->ReadL(dataAddress,readLength,aTrg,aMessage,readTotal, 0);
 			readTotal += readLength;