Revert "duplex test: 64 bit compatibility"
authorStephen Sinclair <radarsat1@gmail.com>
Fri, 12 Feb 2016 17:12:16 +0000 (14:12 -0300)
committerStephen Sinclair <radarsat1@gmail.com>
Fri, 12 Feb 2016 17:58:32 +0000 (14:58 -0300)
This reverts commit f639653f5ecf98d3b093049435df5631d8eb0f44.

This change breaks the build with g++ 5.2.1 (Ubuntu 15.10).

tests/duplex.cpp

index 43d12179bc9c028e0843bdff5c406d877ed5602f..06462f2872aae5edbf6f883c01037cc8756f7df4 100644 (file)
@@ -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;
 }