minor change: use int in array index
This commit is contained in:
parent
61b8c3e9ec
commit
9d6a005bb2
|
@ -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…
Reference in a new issue