]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix build on arm32 (#1108)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 31 Jul 2022 21:32:19 +0000 (21:32 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 22 Aug 2022 15:09:12 +0000 (03:09 +1200)
On arm32, size_t and long are 32 bits in size, exposing these bugs.

src/security/PeerOptions.cc

index 679f9688aaacc05b02525101e3429c95135f34b7..005d816878da4539f7f78bc0dd19f31dc954f91a 100644 (file)
@@ -334,7 +334,7 @@ static struct ssl_option {
 #endif
 #if SSL_OP_ALL
     {
-        "ALL", (long)SSL_OP_ALL
+        "ALL", SSL_OP_ALL
     },
 #endif
 #if SSL_OP_SINGLE_DH_USE