aboutsummaryrefslogtreecommitdiffstats
path: root/modules/haproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/haproxy.cpp')
-rw-r--r--modules/haproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/haproxy.cpp b/modules/haproxy.cpp
index 101204328..2c16094d3 100644
--- a/modules/haproxy.cpp
+++ b/modules/haproxy.cpp
@@ -218,7 +218,7 @@ private:
cert->unknownsigner = true;
// Extract the user for this socket and set their certificate.
- LocalUser* luser = static_cast<UserIOHandler*>(sock)->user;
+ auto* luser = reinterpret_cast<LocalUserIO*>(sock)->user;
sslapi->SetCertificate(luser, cert);
return true;
}