Changeset e8a0b90 in mainline for kernel/arch/ia32/src/drivers/i8254.c


Ignore:
Timestamp:
2007-05-31T21:21:02Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8431986
Parents:
67f5fbd9
Message:

fix ICC compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/drivers/i8254.c

    r67f5fbd9 re8a0b90  
    6767}
    6868
    69 static void i8254_irq_handler(irq_t *irq, void *arg, ...)
     69static void i8254_irq_handler(irq_t *irq, void *arg __attribute__((unused)), ...)
    7070{
    7171        /*
     
    122122                /* will read both status and count */
    123123                outb(CLK_PORT4, 0xc2);
    124                 not_ok = (inb(CLK_PORT1)>>6)&1;
     124                not_ok = (uint8_t) ((inb(CLK_PORT1) >> 6) & 1);
    125125                t1 = inb(CLK_PORT1);
    126126                t1 |= inb(CLK_PORT1) << 8;
Note: See TracChangeset for help on using the changeset viewer.