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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user