From ffb529e4eb2a94c761b711a572c923857e6bb233 Mon Sep 17 00:00:00 2001 From: attila Date: Sun, 26 Oct 2003 13:43:30 +0000 Subject: 64bit types fix by a unkown mandrake 64bit expert git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11271 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_pcm.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libao2') diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c index e43ee6dd45..f7be0bdb72 100644 --- a/libao2/ao_pcm.c +++ b/libao2/ao_pcm.c @@ -32,19 +32,19 @@ int ao_pcm_waveheader = 1; struct WaveHeader { - unsigned long riff; - unsigned long file_length; - unsigned long wave; - unsigned long fmt; - unsigned long fmt_length; - short fmt_tag; - short channels; - unsigned long sample_rate; - unsigned long bytes_per_second; - short block_align; - short bits; - unsigned long data; - unsigned long data_length; + uint32_t riff; + uint32_t file_length; + uint32_t wave; + uint32_t fmt; + uint32_t fmt_length; + uint16_t fmt_tag; + uint16_t channels; + uint32_t sample_rate; + uint32_t bytes_per_second; + uint16_t block_align; + uint16_t bits; + uint32_t data; + uint32_t data_length; }; /* init with default values */ -- cgit v1.2.3