summaryrefslogtreecommitdiff
path: root/tests/testall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testall.cpp')
-rw-r--r--tests/testall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testall.cpp b/tests/testall.cpp
index bd9ca74..695488d 100644
--- a/tests/testall.cpp
+++ b/tests/testall.cpp
@@ -86,7 +86,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;
}