minor change: use int in array index
This commit is contained in:
		
							parent
							
								
									61b8c3e9ec
								
							
						
					
					
						commit
						9d6a005bb2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -121,7 +121,7 @@ readfile(fd, fn, size, pbuf) | |||
| 		free(*pbuf); | ||||
| 		return 0; | ||||
| 	} | ||||
| 	(*pbuf)[*size] = '\0';	/* invoke loadbuf() at end */ | ||||
| 	(*pbuf)[rsize] = '\0';	/* invoke loadbuf() at end */ | ||||
| 	return 1; | ||||
| } | ||||
| #endif INP_READ_IN_ONE | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue