VirtualBox

Changeset 61860 in vbox for trunk


Ignore:
Timestamp:
Jun 23, 2016 4:35:00 PM (9 years ago)
Author:
vboxsync
Message:

BIOS: properly parenthesize bitwise and vs. comparison.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/serial.c

    r56292 r61860  
    5757        case 0:
    5858            outb(addr+3, inb(addr+3) | 0x80);
    59             if (regs.u.r8.al & 0xE0 == 0) {
     59            if ((regs.u.r8.al & 0xE0) == 0) {
    6060                outb(addr, 0x17);
    6161                outb(addr+1, 0x04);
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