1
0
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:
Sadie Powell
2022-01-03 19:17:02 +00:00
parent a31a7f5a6c
commit eb81f22a5b
10 changed files with 23 additions and 29 deletions
+1 -1
View File
@@ -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);
}