From 1b360488fd94d12fcf92c71879019fe271da6116 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 20 Sep 2015 11:08:26 +0200 Subject: [PATCH] Fix invalid static_cast. --- src/shared/message.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/message.cpp b/src/shared/message.cpp index 56a4fdc5..034c5e79 100644 --- a/src/shared/message.cpp +++ b/src/shared/message.cpp @@ -436,8 +436,8 @@ namespace boost { while(*e) e++; state = pj_winberger_hash::update_state(state, - static_cast(p), - static_cast(e)); + reinterpret_cast(p), + reinterpret_cast(e)); state = pj_winberger_hash::update_state(state,'\4'); } p = msg.key(); @@ -445,8 +445,8 @@ namespace boost { while(*e) e++; state = pj_winberger_hash::update_state(state, - static_cast(p), - static_cast(e)); + reinterpret_cast(p), + reinterpret_cast(e)); return state; } };