From 8fc8e4e8cdf2e88720bb37d904e38ad36295a16f Mon Sep 17 00:00:00 2001 From: siecvi <25997662+siecvi@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:17:00 -0300 Subject: [PATCH] fix macos build --- Sources/Gui/PingTester.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() &&