mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Fix TerminalDxe VS2013 build failure
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Roy Franz <roy.franz@linaro.org> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17910 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2a618e50b5
commit
5421247d1e
|
@ -1568,9 +1568,9 @@ UnicodeToEfiKey (
|
|||
if (TerminalDevice->TerminalType == TTYTERMTYPE) {
|
||||
|
||||
if (UnicodeChar == '~' && TerminalDevice->TtyEscapeIndex <= 2) {
|
||||
UINTN EscCode;
|
||||
UINT16 EscCode;
|
||||
TerminalDevice->TtyEscapeStr[TerminalDevice->TtyEscapeIndex] = 0; /* Terminate string */
|
||||
EscCode = StrDecimalToUintn(TerminalDevice->TtyEscapeStr);
|
||||
EscCode = (UINT16) StrDecimalToUintn(TerminalDevice->TtyEscapeStr);
|
||||
switch (EscCode) {
|
||||
case 3:
|
||||
Key.ScanCode = SCAN_DELETE;
|
||||
|
|
Loading…
Reference in New Issue