kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp
branchRCL_3
changeset 81 e7d2d738d3c2
parent 0 a41df078684a
child 109 b3a1d9898418
child 249 a179b74831c9
--- a/kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp	Fri Mar 12 15:50:11 2010 +0200
+++ b/kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp	Mon Mar 15 12:45:50 2010 +0200
@@ -597,7 +597,7 @@
             RDebug::Print(_L("%5d: ------------- end of directory"), aNum);
         return EFalse;
         }
-    else if ((d->Attributes() & KDirAttrLongMask) == KDirAttrLongName)
+    else if (((TInt)d->Attributes() & KDirAttrLongMask) == KDirAttrLongName)
         {
         TBuf16<15> name;
         ExtractNameString(name, aEntry);
@@ -795,7 +795,7 @@
     TheRawDisk.Close();
     RDebug::Print(_L("Cluster %d @ 0x%08X:"), aCluster, ClusterToByte(aCluster));
     TFatDirEntry* d = (TFatDirEntry*)ptr.Ptr() + aEntry;
-    while ((d->Attributes() & KDirAttrLongMask) == KDirAttrLongName && aEntry < gEntriesPerCluster)
+    while (((TInt)d->Attributes() & KDirAttrLongMask) == KDirAttrLongName && aEntry < gEntriesPerCluster)
         {
         if (d->IsErased() || d->IsEndOfDirectory())
             break;
@@ -807,7 +807,7 @@
         start = -1;
     else if (d->IsEndOfDirectory())
         start = -1;
-    else if ((d->Attributes() & KDirAttrLongMask) == KDirAttrLongName)
+    else if (((TInt)d->Attributes() & KDirAttrLongMask) == KDirAttrLongName)
         start = -1;
     else if (!IsValidDirEntry(d))
         start = -1;