remove even more warnings

64-bit cleanliness issue with auto-NULL-appending macros
This commit is contained in:
leitner
2005-05-12 06:52:29 +00:00
parent 6196f771cd
commit eeffc36387
20 changed files with 49 additions and 46 deletions

View File

@@ -36,9 +36,9 @@ void errmsg_writesys(int fd,const char* message,va_list list) {
{
int j;
for (j=0; j<i+2; ++j)
write(2,x[j].iov_base,x[j].iov_len);
write(fd,x[j].iov_base,x[j].iov_len);
}
#else
writev(2,x,i+2);
writev(fd,x,i+2);
#endif
}