changeset 11270:8ba8ec1293e7

64bit types fix by a unkown mandrake 64bit expert
author attila
date Sun, 26 Oct 2003 13:43:30 +0000
parents 669e67c3d6b3
children 252fb0cf331a
files libao2/ao_pcm.c
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_pcm.c	Sun Oct 26 13:43:26 2003 +0000
+++ b/libao2/ao_pcm.c	Sun Oct 26 13:43:30 2003 +0000
@@ -32,19 +32,19 @@
 
 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 */