minor change: use int in array index

This commit is contained in:
ceriel 1988-08-23 12:54:16 +00:00
parent 61b8c3e9ec
commit 9d6a005bb2

View file

@ -121,7 +121,7 @@ readfile(fd, fn, size, pbuf)
free(*pbuf); free(*pbuf);
return 0; return 0;
} }
(*pbuf)[*size] = '\0'; /* invoke loadbuf() at end */ (*pbuf)[rsize] = '\0'; /* invoke loadbuf() at end */
return 1; return 1;
} }
#endif INP_READ_IN_ONE #endif INP_READ_IN_ONE