mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix a few compiler warnings on older gcc
This commit is contained in:
		
							parent
							
								
									506eacc922
								
							
						
					
					
						commit
						13018d62c1
					
				
					 10 changed files with 19 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -122,7 +122,7 @@ double pa_sw_volume_to_linear(pa_volume_t v) {
 | 
			
		|||
    if (v == PA_VOLUME_MUTED)
 | 
			
		||||
        return 0;
 | 
			
		||||
 | 
			
		||||
    return pow(10, pa_sw_volume_to_dB(v)/20);
 | 
			
		||||
    return pow(10.0, pa_sw_volume_to_dB(v)/20.0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue