VirtualBox

Changeset 57417 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Aug 18, 2015 11:21:12 AM (9 years ago)
Author:
vboxsync
Message:

warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvAudio.cpp

    r57398 r57417  
    336336        case 16:
    337337        {
    338             int i;
    339338            uint16_t *p = (uint16_t *)pvBuf;
    340339            int shift = pPCMInfo->cChannels - 1;
     
    344343                s = RT_BSWAP_U16(s);
    345344
    346             for (i = 0; i < cbBuf << shift; i++)
     345            for (unsigned i = 0; i < cbBuf << shift; i++)
    347346                p[i] = s;
    348347
     
    352351        case 32:
    353352        {
    354             int i;
    355353            uint32_t *p = (uint32_t *)pvBuf;
    356354            int shift = pPCMInfo->cChannels - 1;
     
    360358                s = RT_BSWAP_U32(s);
    361359
    362             for (i = 0; i < cbBuf << shift; i++)
     360            for (unsigned i = 0; i < cbBuf << shift; i++)
    363361                p[i] = s;
    364362
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