projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the _rest_ of the Windows compile warnings. (ahem)
[u/mdw/putty]
/
windows
/
winnet.c
diff --git
a/windows/winnet.c
b/windows/winnet.c
index
da291c3
..
9f5c993
100644
(file)
--- a/
windows/winnet.c
+++ b/
windows/winnet.c
@@
-1691,7
+1691,7
@@
char *get_hostname(void)
hostname = NULL;
break;
}
- } while (strlen(hostname) >=
len-1
);
+ } while (strlen(hostname) >=
(size_t)(len-1)
);
return hostname;
}