summaryrefslogtreecommitdiff
path: root/tests/duplex.cpp
diff options
context:
space:
mode:
authorDavid Császár <p6@xn--csszr-yqac.de>2015-04-05 09:01:02 +0200
committerDavid Császár <p6@xn--csszr-yqac.de>2015-04-05 09:01:02 +0200
commitf639653f5ecf98d3b093049435df5631d8eb0f44 (patch)
treee18af6c14c40f21a3f388c5962f973f6849414d6 /tests/duplex.cpp
parent8e58b61517bff3edcd8dac6afffdf538f2fa1ca1 (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.cpp2
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;
}