some more explicitness

This commit is contained in:
cathugger 2018-02-23 00:11:20 +00:00
parent 5e97518634
commit 30d26a3e67
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ int writeall(FH fd,const u8 *data,size_t len)
continue;
return -1;
}
len -= wrote;
len -= (size_t) wrote;
data += wrote;
}
return 0;