Fix a warning issue with ARMCC.
authorAJFISH <AJFISH@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Sun, 17 Jan 2010 04:44:59 +0000 (04:44 +0000)
committerAJFISH <AJFISH@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Sun, 17 Jan 2010 04:44:59 +0000 (04:44 +0000)
git-svn-id: https://fat-driver2.tianocore.org/svn/fat-driver2/trunk@48 65ba2f78-6c18-0410-a7b4-885970cf29fa

FatPkg/EnhancedFatDxe/ReadWrite.c

index 2949bcc..776cb48 100644 (file)
@@ -113,7 +113,7 @@ Returns:
   //\r
   // Set the position\r
   //\r
-  if (Position == -1) {\r
+  if (Position == (UINT64)-1) {\r
     Position = OFile->FileSize;\r
   }\r
   //\r