mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf: fix get_hexachar() return value
Reported-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									fc719bfe4e
								
							
						
					
					
						commit
						9ebd29d2d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -887,7 +887,7 @@ static inline int get_hexachar(input_t *input)
 | 
				
			||||||
	if (c >= '0' && c <= '9') num |= (c - '0') << 0;
 | 
						if (c >= '0' && c <= '9') num |= (c - '0') << 0;
 | 
				
			||||||
	else if (c >= 'a' && c <= 'f') num |= (c - 'a') << 0;
 | 
						else if (c >= 'a' && c <= 'f') num |= (c - 'a') << 0;
 | 
				
			||||||
	else if (c >= 'A' && c <= 'F') num |= (c - 'A') << 0;
 | 
						else if (c >= 'A' && c <= 'F') num |= (c - 'A') << 0;
 | 
				
			||||||
	return c;
 | 
						return num;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int get_quotedchar(input_t *input)
 | 
					static int get_quotedchar(input_t *input)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue