diff options
| author | jossgray <joss@jossgray.net> | 2016-12-05 20:37:38 +0000 |
|---|---|---|
| committer | jossgray <joss@jossgray.net> | 2016-12-05 20:37:38 +0000 |
| commit | fc1f79343be5129134921f9e47cab8ef360368e4 (patch) | |
| tree | 8bd29e002db48aa2dbdeaa103ecb1e05784bc7c4 /tests/testall.cpp | |
| parent | 03aef01e6c556834277b0b23c5659aa83fa7949b (diff) | |
Fix truncation to float warning in mscv
Diffstat (limited to 'tests/testall.cpp')
| -rw-r--r-- | tests/testall.cpp | 2 |
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++ ) { |
