1
0
Fork 0

fix sign warning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1207 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2012-12-18 07:08:57 +00:00
parent 94a6d092ac
commit c6df026c37
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ static void xc_coverager_save_cov(char *srcfile, char *outfilename, coverager_t
goto bailout;
}
lseek(fd, 0, SEEK_SET);
if (write(fd, (char *) buf, size) != size) {
if (write(fd, (char *) buf, size) != (ssize_t) size) {
goto bailout;
}