Browse Source

Fixed compiler warnings.

Brucey 4 years ago
parent
commit
7daafb60a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      freeaudio.mod/freeaudioglue.cpp

+ 1 - 1
freeaudio.mod/freeaudioglue.cpp

@@ -126,7 +126,7 @@ sample* BBCALL fa_CreateSound( int length,int bits,int channels,int freq,const c
   
 	if (io==0) return 0;
 	sam=new sample();
-	if (loop==0x80000000){	//dynamic sounds stay in app memory
+	if (loop==(int)0x80000000){	//dynamic sounds stay in app memory
 		sam->init(length,freq,channels,bits,(void*)samples);
 	}else{
 		sam->init(length,freq,channels,bits,0);