'fgetc()' returns int
This commit is contained in:
		
							parent
							
								
									a56d446664
								
							
						
					
					
						commit
						83ceed5592
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -321,7 +321,7 @@ readLine(FILE *f, std::vector<char> &buffer)
 | 
			
		|||
		if (feof(f))
 | 
			
		||||
			break;
 | 
			
		||||
 | 
			
		||||
		char c = fgetc(f);
 | 
			
		||||
		int c = fgetc(f);
 | 
			
		||||
 | 
			
		||||
		if (c == '\n' || c == EOF)
 | 
			
		||||
			break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue