fixed compiler warnings issued by:

gcc 4.3
	curl.h gcc type-checking
	glibc with enabled FORTIFY_SOURCE checking
This commit is contained in:
Martin Willi
2008-11-11 18:37:19 +00:00
parent 3d2dbebd70
commit 479f295049
22 changed files with 125 additions and 59 deletions
+1 -1
View File
@@ -1868,7 +1868,7 @@ main(int argc, char **argv)
}
le++; /* include NL in line */
write(1, ls, le - ls);
ignore_result(write(1, ls, le - ls));
/* figure out prefix number
* and how it should affect our exit status