From d78d913ad6f4b2981847db971b6626baadfdb5c6 Mon Sep 17 00:00:00 2001 From: anonimal Date: Sun, 29 May 2016 02:39:18 +0000 Subject: [PATCH] TransportSession: fix erroneous reinterpret_cast. * Introduced in fe9654a --- src/core/transport/TransportSession.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/transport/TransportSession.h b/src/core/transport/TransportSession.h index f039d282..f505c917 100644 --- a/src/core/transport/TransportSession.h +++ b/src/core/transport/TransportSession.h @@ -62,7 +62,7 @@ class SignedData { void Insert( const std::uint8_t* buf, std::size_t len) { - m_Stream.write(reinterpret_cast(&buf), len); + m_Stream.write(reinterpret_cast(buf), len); } template void Insert(