changes for compilation with MS VC++

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@46 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Oxy
2006-07-07 06:58:19 +00:00
parent ebac5fe596
commit ab66940a89
4 changed files with 321 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ inet_ntop4(const u_char *src, char *dst, socklen_t size)
}
tmp[i - 1] = '\0';
if (strlen(tmp)>size) {
if ((socklen_t)strlen(tmp)>size) {
//__set_errno (ENOSPC);
return (NULL);
}