Browse Source

Revert "duplex test: 64 bit compatibility"

This reverts commit f639653f5e.

This change breaks the build with g++ 5.2.1 (Ubuntu 15.10).
tags/4.1.2
Stephen Sinclair 10 years ago
parent
commit
77cfec0f03
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/duplex.cpp

+ 1
- 1
tests/duplex.cpp View 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;
}


Loading…
Cancel
Save