Silence warnings, check length

This commit is contained in:
Alex Hultman
2020-06-06 20:26:59 +02:00
parent b17aad916f
commit 0d9cb39db6
4 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ protected:
b[12], b[13], b[14], b[15]);
}
return {buf, ipLength};
return {buf, (unsigned int) ipLength};
}
/* Returns the remote IP address or empty string on failure */