diff --git a/Sources/Gui/PingTester.cpp b/Sources/Gui/PingTester.cpp index 497cd46..e28c5a1 100644 --- a/Sources/Gui/PingTester.cpp +++ b/Sources/Gui/PingTester.cpp @@ -367,7 +367,7 @@ namespace spades { // Initiate new measurements ENetBuffer pingBuffer; - pingBuffer.data = "HELLO"; + pingBuffer.data = (void*)"HELLO"; pingBuffer.dataLength = 5; while (priv->ongoing.size() < g_maxSimultaneousMeasurement && !priv->queue.empty() &&