mirror of
https://github.com/anope/anope.git
synced 2026-06-26 17:56:38 +02:00
Modernize CXXFLAGS on Unix and enable -Werror on CI.
Also clear up warnings that this exposed.
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ bool cidr::match(const sockaddrs &other)
|
||||
byte = len % 8;
|
||||
if (byte)
|
||||
{
|
||||
uint8_t m = ~0 << (8 - byte);
|
||||
uint8_t m = ~0u << (8 - byte);
|
||||
return (*ip & m) == (*their_ip & m);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user