diff options
author | Matthew Gregan <[email protected]> | 2015-12-02 11:30:34 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2015-12-02 11:30:34 +1300 |
commit | eb30ecdf0c6b02e463a91ac93887ac08e31b360a (patch) | |
tree | 4587b82943a20a7eaa9a4e7629628dc53994bd1b /test/test_tone.cpp | |
parent | 1e6266043cdb1e999016a5aac2e179dc9ed9a24d (diff) | |
download | cubeb-eb30ecdf0c6b02e463a91ac93887ac08e31b360a.tar.gz cubeb-eb30ecdf0c6b02e463a91ac93887ac08e31b360a.zip |
test: follow-up to 1e626604; fix copy/paste error.
Diffstat (limited to 'test/test_tone.cpp')
-rw-r--r-- | test/test_tone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tone.cpp b/test/test_tone.cpp index 3fe60fd..d0cee22 100644 --- a/test/test_tone.cpp +++ b/test/test_tone.cpp @@ -38,9 +38,9 @@ long data_cb(cubeb_stream *stream, void *user, void *buffer, long nframes) { struct cb_user_data *u = (struct cb_user_data *)user; #if (defined(_WIN32) || defined(__WIN32__)) - short *b = (short *)buffer; -#else float *b = (float *)buffer; +#else + short *b = (short *)buffer; #endif float t1, t2; int i; |