diff options
author | AJFISH <AJFISH@efd2e655-3735-4b16-a529-16bfa2dd702b> | 2010-01-17 04:44:59 +0000 |
---|---|---|
committer | AJFISH <AJFISH@efd2e655-3735-4b16-a529-16bfa2dd702b> | 2010-01-17 04:44:59 +0000 |
commit | f6533086f349d26bfa16dcae8c3c11cf6184f057 (patch) | |
tree | a9cfa5f297025879304bfbefb23b98dee447c0ee /FatPkg | |
parent | a73af80eae3a111817ef904308cf8ee45e3b7882 (diff) |
Fix a warning issue with ARMCC.
git-svn-id: https://edk2-fatdriver2.svn.sourceforge.net/svnroot/edk2-fatdriver2/trunk@48 efd2e655-3735-4b16-a529-16bfa2dd702b
Diffstat (limited to 'FatPkg')
-rw-r--r-- | FatPkg/EnhancedFatDxe/ReadWrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FatPkg/EnhancedFatDxe/ReadWrite.c b/FatPkg/EnhancedFatDxe/ReadWrite.c index 2949bcca1a..776cb487bd 100644 --- a/FatPkg/EnhancedFatDxe/ReadWrite.c +++ b/FatPkg/EnhancedFatDxe/ReadWrite.c @@ -113,7 +113,7 @@ Returns: //
// Set the position
//
- if (Position == -1) {
+ if (Position == (UINT64)-1) {
Position = OFile->FileSize;
}
//
|