mirror of https://github.com/acidanthera/audk.git
Correct Data type conversion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10981 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
efca00e2b5
commit
f7a14a9b99
|
@ -269,8 +269,8 @@ SendForm (
|
||||||
|
|
||||||
gOptionBlockWidth = (CHAR16) ((gScreenDimensions.RightColumn - gScreenDimensions.LeftColumn) / 3);
|
gOptionBlockWidth = (CHAR16) ((gScreenDimensions.RightColumn - gScreenDimensions.LeftColumn) / 3);
|
||||||
gHelpBlockWidth = gOptionBlockWidth;
|
gHelpBlockWidth = gOptionBlockWidth;
|
||||||
gPromptBlockWidth = gOptionBlockWidth + LEFT_SKIPPED_COLUMNS;
|
gPromptBlockWidth = (CHAR16) (gOptionBlockWidth + LEFT_SKIPPED_COLUMNS);
|
||||||
gOptionBlockWidth = gOptionBlockWidth - LEFT_SKIPPED_COLUMNS;
|
gOptionBlockWidth = (CHAR16) (gOptionBlockWidth - LEFT_SKIPPED_COLUMNS);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Initialize the strings for the browser, upon exit of the browser, the strings will be freed
|
// Initialize the strings for the browser, upon exit of the browser, the strings will be freed
|
||||||
|
|
|
@ -1134,7 +1134,7 @@ GetWidth (
|
||||||
Width -= SUBTITLE_INDENT;
|
Width -= SUBTITLE_INDENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Width - LEFT_SKIPPED_COLUMNS;
|
return (UINT16) (Width - LEFT_SKIPPED_COLUMNS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue