]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix a warning issue with ARMCC.
authorAndrew Fish <afish@apple.com>
Sun, 17 Jan 2010 04:44:59 +0000 (04:44 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
(based on FatPkg commit 5613b9c6a6fdf762ef26f30f22ecabc487e22eb4)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Andrew Fish <afish@apple.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/ReadWrite.c

index 956db27a8677d39416db30e091a8c58abbef3ef7..fb9e8026f11aeee2c629a1b86a82d5fdb2e741ba 100644 (file)
@@ -117,7 +117,7 @@ Returns:
   //\r
   // Set the position\r
   //\r
-  if (Position == -1) {\r
+  if (Position == (UINT64)-1) {\r
     Position = OFile->FileSize;\r
   }\r
   //\r