VirtualBox

Ignore:
Timestamp:
Feb 23, 2007 9:48:09 AM (18 years ago)
Author:
vboxsync
Message:

fixed warnings

File:
1 edited

Legend:

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

    r1019 r1031  
    7979#endif /* !VBOX */
    8080
    81 //#define DEBUG_SERIAL
     81/* #define DEBUG_SERIAL */
    8282
    8383#define UART_LCR_DLAB   0x80    /* Divisor latch access bit */
     
    608608    SSMR3PutU8(pSSMHandle, s->msr);
    609609    SSMR3PutU8(pSSMHandle, s->scr);
    610     SSMR3PutU32(pSSMHandle, s->thr_ipending);
    611     SSMR3PutU32(pSSMHandle, s->irq);
    612     SSMR3PutU32(pSSMHandle, s->last_break_enable);
     610    SSMR3PutS32(pSSMHandle, s->thr_ipending);
     611    SSMR3PutS32(pSSMHandle, s->irq);
     612    SSMR3PutS32(pSSMHandle, s->last_break_enable);
    613613    SSMR3PutU32(pSSMHandle, s->base);
    614614    return SSMR3PutU32(pSSMHandle, ~0); /* sanity/terminator */
     
    636636    SSMR3GetU8(pSSMHandle, &s->msr);
    637637    SSMR3GetU8(pSSMHandle, &s->scr);
    638     SSMR3GetU32(pSSMHandle, &s->thr_ipending);
    639     SSMR3GetU32(pSSMHandle, &s->irq);
    640     SSMR3GetU32(pSSMHandle, &s->last_break_enable);
     638    SSMR3GetS32(pSSMHandle, &s->thr_ipending);
     639    SSMR3GetS32(pSSMHandle, &s->irq);
     640    SSMR3GetS32(pSSMHandle, &s->last_break_enable);
    641641    SSMR3GetU32(pSSMHandle, &s->base);
    642642
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