VirtualBox

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


Ignore:
Timestamp:
Jun 3, 2021 12:27:23 PM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioAlsaStubs.h: Try fix pedantic gcc warning/error. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.h

    r89474 r89478  
    5050typedef struct snd_pcm_chmap
    5151{
    52     unsigned int channels, pos[0];
     52    unsigned int channels;
     53    RT_GCC_EXTENSION
     54    unsigned int pos[RT_FLEXIBLE_ARRAY_IN_NESTED_UNION];
    5355} snd_pcm_chmap_t;
    5456extern int snd_pcm_set_chmap(snd_pcm_t *, snd_pcm_chmap_t const *);
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