Several things:
(1) Add a bunch of tedious type casts to eliminate unnecessary compiler warnings on Windows X64 builds. (2) Some EthernetTap work to integrate Windows custom IOCTL for multicast group lookup (not done quite yet). (3) Dump some more info in selftest to make sure our Windows path lookup functions are returning sane results.
This commit is contained in:
parent
06ca24e8e2
commit
370dd6c4da
14 changed files with 90 additions and 105 deletions
|
@ -74,7 +74,7 @@ std::string CertificateOfMembership::toString() const
|
|||
|
||||
if (_signedBy) {
|
||||
s.push_back(':');
|
||||
s.append(Utils::hex(_signature.data,_signature.size()));
|
||||
s.append(Utils::hex(_signature.data,(unsigned int)_signature.size()));
|
||||
}
|
||||
|
||||
return s;
|
||||
|
@ -132,7 +132,7 @@ void CertificateOfMembership::fromString(const char *s)
|
|||
while ((s[colonAt])&&(s[colonAt] != ':')) ++colonAt;
|
||||
|
||||
if (colonAt) {
|
||||
if (Utils::unhex(s,colonAt,_signature.data,_signature.size()) != _signature.size())
|
||||
if (Utils::unhex(s,colonAt,_signature.data,(unsigned int)_signature.size()) != _signature.size())
|
||||
_signedBy.zero();
|
||||
} else _signedBy.zero();
|
||||
} else _signedBy.zero();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue