summaryrefslogtreecommitdiff
path: root/tests/testall.cpp
diff options
context:
space:
mode:
authorgaryscavone <garyscavone@users.noreply.github.com>2017-04-24 08:09:07 -0400
committerGitHub <noreply@github.com>2017-04-24 08:09:07 -0400
commite786e45107b0f88cd3ab42ad223f94d4dfdb925a (patch)
tree220318405cba94b01953d0be80cb4a6a4e8f11d3 /tests/testall.cpp
parent56c85084bc774e37dd2752d1ffac954621810255 (diff)
parentfc1f79343be5129134921f9e47cab8ef360368e4 (diff)
Merge pull request #81 from jossgray/fix-warnings
Fix some warnings in the tests in Visual Studio
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 419f27b..b94ce69 100644
--- a/tests/testall.cpp
+++ b/tests/testall.cpp
@@ -66,7 +66,7 @@ int sawni( void *outputBuffer, void * /*inputBuffer*/, unsigned int nBufferFrame
if ( status )
std::cout << "Stream underflow detected!" << std::endl;
- float increment;
+ double increment;
for ( j=0; j<channels; j++ ) {
increment = BASE_RATE * (j+1+(j*0.1));
for ( i=0; i<nBufferFrames; i++ ) {