X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FApplication%2FUiApp%2FFrontPage.c;h=adee67a8ac142c4d3c0f7d2016613881c6ca2d3f;hp=ad5af2cebbd3a54d0af90cd02fccacb053dee52f;hb=16f6922709952c7ad468dcdee6ef94b3e5a3cd90;hpb=95ba3d92dca2616715e2af89d2bbeca9577a3e2c diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index ad5af2cebb..adee67a8ac 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -399,7 +399,7 @@ ConvertProcessorToString ( if (Base10Exponent >= 6) { FreqMhz = ProcessorFrequency; - for (Index = 0; Index < (UINTN) (Base10Exponent - 6); Index++) { + for (Index = 0; Index < (UINT32) Base10Exponent - 6; Index++) { FreqMhz *= 10; } } else {