diff options
| author | Juan Quintela | 2009-08-11 02:31:17 +0200 |
|---|---|---|
| committer | malc | 2009-08-11 18:51:24 +0200 |
| commit | 1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (patch) | |
| tree | a5d043000b861d524237dcb6d581ee1026f99f86 /audio/ossaudio.c | |
| parent | use C99 initializers for audio_pcm_ops (diff) | |
| download | qemu-1a40d5e23577b955265fe12a2b7b5222ec2df0f2.tar.gz qemu-1a40d5e23577b955265fe12a2b7b5222ec2df0f2.tar.xz qemu-1a40d5e23577b955265fe12a2b7b5222ec2df0f2.zip | |
use C99 initializers for all audio/*
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/ossaudio.c')
| -rw-r--r-- | audio/ossaudio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 03e17b5707..bda275661b 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -654,8 +654,10 @@ static int oss_run_in (HWVoiceIn *hw) int add; int len; } bufs[2] = { - { hw->wpos, 0 }, - { 0, 0 } + {.add = hw->wpos, + .len = 0}, + {.add = 0, + .len = 0} }; if (!dead) { |
