From 77cfec0f03ce712410620d93fd698561901bdaf7 Mon Sep 17 00:00:00 2001 From: Stephen Sinclair Date: Fri, 12 Feb 2016 14:12:16 -0300 Subject: [PATCH] Revert "duplex test: 64 bit compatibility" This reverts commit f639653f5ecf98d3b093049435df5631d8eb0f44. This change breaks the build with g++ 5.2.1 (Ubuntu 15.10). --- tests/duplex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/duplex.cpp b/tests/duplex.cpp index 43d1217..06462f2 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; - uint32_t *bytes = (uint32_t *) data; + unsigned int *bytes = (unsigned int *) data; memcpy( outputBuffer, inputBuffer, *bytes ); return 0; } -- 2.30.2