summaryrefslogtreecommitdiff
path: root/tests/duplex.cpp
diff options
context:
space:
mode:
authorStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:59:16 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:59:16 +0200
commitda9b77ef9a50a97f7c1f2e154edb938acff02214 (patch)
tree38dcf95e8df65d3e2c8696eee754dd54856d4e01 /tests/duplex.cpp
parentbe2eb99b37cd017fcab00c1704f794cb1bc85ee1 (diff)
parent6faf4336eb5952b141e1c239d194f5cd70f0a885 (diff)
Merge 4.0.8 into releases
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 125b56e..938a7f8 100644
--- a/tests/duplex.cpp
+++ b/tests/duplex.cpp
@@ -53,7 +53,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 long *bytes = (unsigned long *) data;
+ unsigned int *bytes = (unsigned int *) data;
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}