diff options
| author | David Császár <p6@xn--csszr-yqac.de> | 2015-04-05 09:01:02 +0200 |
|---|---|---|
| committer | David Császár <p6@xn--csszr-yqac.de> | 2015-04-05 09:01:02 +0200 |
| commit | f639653f5ecf98d3b093049435df5631d8eb0f44 (patch) | |
| tree | e18af6c14c40f21a3f388c5962f973f6849414d6 /tests/duplex.cpp | |
| parent | 8e58b61517bff3edcd8dac6afffdf538f2fa1ca1 (diff) | |
duplex test: 64 bit compatibility
This change was necessary to prevent BAD ACCESS when compiling on 64 bit OSX
Diffstat (limited to 'tests/duplex.cpp')
| -rw-r--r-- | tests/duplex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
