From f639653f5ecf98d3b093049435df5631d8eb0f44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Cs=C3=A1sz=C3=A1r?= Date: Sun, 5 Apr 2015 09:01:02 +0200 Subject: [PATCH] duplex test: 64 bit compatibility This change was necessary to prevent BAD ACCESS when compiling on 64 bit OSX --- tests/duplex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/duplex.cpp b/tests/duplex.cpp index 06462f2..43d1217 100644 --- a/tests/duplex.cpp +++ b/tests/duplex.cpp @@ -55,7 +55,7 @@ int inout( void *outputBuffer, void *inputBuffer, unsigned int /*nBufferFrames*/ // a simple buffer copy operation here. if ( status ) std::cout << "Stream over/underflow detected." << std::endl; - unsigned int *bytes = (unsigned int *) data; + uint32_t *bytes = (uint32_t *) data; memcpy( outputBuffer, inputBuffer, *bytes ); return 0; } -- 2.30.2