From c4ba493edf26eb3b90c89089d28d70dc8e7775b2 Mon Sep 17 00:00:00 2001 From: Andrew Fish Date: Sun, 17 Jan 2010 04:44:59 +0000 Subject: Fix a warning issue with ARMCC. (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 Reviewed-by: Andrew Fish Acked-by: Laszlo Ersek --- FatPkg/EnhancedFatDxe/ReadWrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FatPkg/EnhancedFatDxe') diff --git a/FatPkg/EnhancedFatDxe/ReadWrite.c b/FatPkg/EnhancedFatDxe/ReadWrite.c index 956db27a86..fb9e8026f1 100644 --- a/FatPkg/EnhancedFatDxe/ReadWrite.c +++ b/FatPkg/EnhancedFatDxe/ReadWrite.c @@ -117,7 +117,7 @@ Returns: // // Set the position // - if (Position == -1) { + if (Position == (UINT64)-1) { Position = OFile->FileSize; } // -- cgit v1.2.3