mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fix compile warnings with gcc-4
Fixed compile warnings with gcc-4 about pointer signedness.
This commit is contained in:
		
							parent
							
								
									0350a615b7
								
							
						
					
					
						commit
						7a89e3bbca
					
				
					 17 changed files with 69 additions and 71 deletions
				
			
		| 
						 | 
				
			
			@ -242,7 +242,7 @@ static int snd_input_buffer_scan(snd_input_t *input, const char *format, va_list
 | 
			
		|||
	extern int vsscanf(const char *, const char *, va_list);
 | 
			
		||||
	/* FIXME: how can I obtain consumed chars count? */
 | 
			
		||||
	assert(0);
 | 
			
		||||
	return vsscanf(buffer->ptr, format, args);
 | 
			
		||||
	return vsscanf((char *)buffer->ptr, format, args);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static char *snd_input_buffer_gets(snd_input_t *input, char *str, size_t size)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue