openalbridge/wrappers.c
changeset 2216 82e7da49c26a
parent 2213 bd51bbf06033
child 2218 59a9bebc4988
--- a/openalbridge/wrappers.c	Tue Jun 30 15:59:02 2009 +0000
+++ b/openalbridge/wrappers.c	Tue Jun 30 17:02:41 2009 +0000
@@ -80,8 +80,8 @@
 		ALfloat gain;
 		ALfloat target_gain;
 		fade_t *fade;
-		int index; 
-		unsigned int quantity; 
+		uint32_t index; 
+		uint16_t quantity; 
 		
 		fade = tmp;
 		index = fade->index;
@@ -114,6 +114,7 @@
 #else
 		_endthread();
 #endif
+		return 0;
 	}
 	
 	
@@ -126,8 +127,8 @@
 		ALfloat gain;
 		ALfloat old_gain;
 		fade_t *fade;
-		int index; 
-		unsigned int quantity; 
+		uint32_t index; 
+		uint16_t quantity; 
 		
 		fade = tmp;
 		index = fade->index;
@@ -159,9 +160,10 @@
 #else
 		_endthread();
 #endif
+		return 0;
 	}
 	
 	
 #ifdef __CPLUSPLUS
 }
-#endif
\ No newline at end of file
+#endif