summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorAnderw Fish <afish@apple.com>2014-08-28 05:02:35 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-28 05:02:35 +0000
commit07355bd5ccf46cabb0ad05f1a058c1cfcbad1081 (patch)
treec1491f959d3048b3a10b1b19433d8a6f1729f006 /BaseTools
parent057ac410e3b8331666cd5246d8414b36e0f3d15f (diff)
downloadedk2-platforms-07355bd5ccf46cabb0ad05f1a058c1cfcbad1081.tar.xz
[BaseTools] clang warns that since BaseAddress is unsigned it can never be < 0.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anderw Fish <afish@apple.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15931 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/C/GenVtf/GenVtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/GenVtf/GenVtf.c b/BaseTools/Source/C/GenVtf/GenVtf.c
index 60df34906e..256a2b16a9 100644
--- a/BaseTools/Source/C/GenVtf/GenVtf.c
+++ b/BaseTools/Source/C/GenVtf/GenVtf.c
@@ -1722,7 +1722,7 @@ Returns:
--*/
{
- if ((BaseAddress >= 0) && (FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
+ if ((FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
return EFI_SUCCESS;
}