VirtualBox

Changeset 26195 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 3, 2010 2:32:57 PM (15 years ago)
Author:
vboxsync
Message:

style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/ATAController.cpp

    r26104 r26195  
    647647}
    648648
    649 static uint32_t ataChecksum(void* ptr, size_t count)
    650 {
    651     uint8_t u8Sum = 0xa5, *p = (uint8_t*)ptr;
     649static uint32_t ataChecksum(void *ptr, size_t count)
     650{
     651    uint8_t u8Sum = 0xa5;
     652    uint8_t *p = (uint8_t*)ptr;
    652653    size_t i;
    653654
    654655    for (i = 0; i < count; i++)
    655656    {
    656       u8Sum += *p++;
     657        u8Sum += *p++;
    657658    }
    658659
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