diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 | 
| commit | 9c0b5859e6cc4b7a0e925fde8665990281b265d3 (patch) | |
| tree | 8994dbe0942d56c9a7cf470fc3b2316d1f91e0a3 /compat/msdun.c | |
| parent | 1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff) | |
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'compat/msdun.c')
| -rw-r--r-- | compat/msdun.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/msdun.c b/compat/msdun.c index fab4c586..1759ef66 100644 --- a/compat/msdun.c +++ b/compat/msdun.c @@ -56,7 +56,8 @@ static void sig_alarm(int sig)  static int w4_str(int fd, char *str)  {  	char buf[40]; -	int  r, len = 0; +	unsigned len = 0; +	int r;  	while (1) {  		r = read(fd, buf + len, sizeof(buf) - len - 1);  | 
