openalbridge/globals.h
changeset 2216 82e7da49c26a
parent 2215 1d78579e06c2
child 2257 7eb31efcfb9b
--- a/openalbridge/globals.h	Tue Jun 30 15:59:02 2009 +0000
+++ b/openalbridge/globals.h	Tue Jun 30 17:02:41 2009 +0000
@@ -94,10 +94,12 @@
 #pragma pack()
 	
 	/*data type for passing data between threads*/
+#pragma pack(1)
 	typedef struct _fade_t {
-		int index;
-		unsigned int quantity;
+		uint32_t index;
+		uint16_t quantity;
 	} fade_t;
+#pragma pack()
 	
 	/*other defines*/
 #define FADE_IN		11