From c28ace9c15d43d6ecba1404957eea213d3dd86c0 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 21 Feb 2013 15:17:07 -0800 Subject: [PATCH] have mixer use sockaddr when calling UDPSocket receive --- mixer/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer/src/main.cpp b/mixer/src/main.cpp index 5f4605fac3..94cccdddf0 100644 --- a/mixer/src/main.cpp +++ b/mixer/src/main.cpp @@ -282,7 +282,7 @@ int main(int argc, const char * argv[]) pthread_create(&sendBufferThread, NULL, sendBuffer, NULL); while (true) { - if(audioSocket.receive(&agentAddress, packetData, &receivedBytes)) { + if(audioSocket.receive((sockaddr *)&agentAddress, packetData, &receivedBytes)) { if (receivedBytes == BUFFER_LENGTH_BYTES) { if (addAgent(&agentAddress, packetData)) { std::cout << "Added agent: " <<