VFS: Fix sign warning

This commit is contained in:
Jeffrey Pfau 2015-06-22 01:38:40 -07:00
parent 86a36853ed
commit 42a887369f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ struct VFile* VFileOpen(const char* path, int flags) {
}
ssize_t VFileReadline(struct VFile* vf, char* buffer, size_t size) {
ssize_t bytesRead = 0;
size_t bytesRead = 0;
while (bytesRead < size - 1) {
ssize_t newRead = vf->read(vf, &buffer[bytesRead], 1);
if (newRead <= 0) {