VirtualBox

Changeset 71777 in vbox


Ignore:
Timestamp:
Apr 9, 2018 3:15:14 PM (6 years ago)
Author:
vboxsync
Message:

DevEFI: nits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r71061 r71777  
    14651465            if (u32 == '\n' || u32 == '\r')
    14661466            {
     1467                Assert(pThis->iMsg < sizeof(pThis->szMsg));
    14671468                pThis->szMsg[pThis->iMsg] = '\0';
    14681469                if (pThis->iMsg)
     
    14721473            else
    14731474            {
    1474                 if (pThis->iMsg >= sizeof(pThis->szMsg)-1)
     1475                if (pThis->iMsg >= sizeof(pThis->szMsg) - 1)
    14751476                {
    14761477                    pThis->szMsg[pThis->iMsg] = '\0';
     
    14781479                    pThis->iMsg = 0;
    14791480                }
    1480                 pThis->szMsg[pThis->iMsg] = (char )u32;
     1481                pThis->szMsg[pThis->iMsg] = (char)u32;
    14811482                pThis->szMsg[++pThis->iMsg] = '\0';
    14821483            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette