userlibandfileserver/fileserver/shostmassstorage/msproxy/tmsmemmap.inl
branchRCL_3
changeset 36 bbf8bed59bcb
parent 23 1df514389a47
--- a/userlibandfileserver/fileserver/shostmassstorage/msproxy/tmsmemmap.inl	Tue May 25 14:09:55 2010 +0300
+++ b/userlibandfileserver/fileserver/shostmassstorage/msproxy/tmsmemmap.inl	Wed Jun 09 11:10:19 2010 +0300
@@ -42,11 +42,11 @@
 	iSectorSize = aSectorSize;
 
 	iFormatSectorShift = 0;
-	while(aSectorSize)
-		{
-		++iFormatSectorShift;
-		aSectorSize >>= 1;
-		}
+
+    while(aSectorSize >>= 1)
+        {
+        ++iFormatSectorShift;
+        }
 
 	iDataOffset = static_cast<TInt64>(aFirstDataSector) * iSectorSize;
 	iSize = static_cast<TInt64>(aNumSectors) * iSectorSize;