Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
TransportSession: fix erroneous reinterpret_cast.
Browse files Browse the repository at this point in the history
* Introduced in fe9654a
  • Loading branch information
anonimal committed May 29, 2016
1 parent 2d92f5d commit d78d913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/transport/TransportSession.h
Expand Up @@ -62,7 +62,7 @@ class SignedData {
void Insert(
const std::uint8_t* buf,
std::size_t len) {
m_Stream.write(reinterpret_cast<char *>(&buf), len);
m_Stream.write(reinterpret_cast<const char *>(buf), len);
}
template<typename T>
void Insert(
Expand Down

0 comments on commit d78d913

Please sign in to comment.