diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2013-03-15 10:29:08 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2013-03-15 10:29:08 +0000 |
commit | a275cd3fe2331a24de438a351bd24a1ff1f4fc69 (patch) | |
tree | 725eaaec542ae280a2d92ae7070aaab5200fcf5c /examples/simpletest | |
parent | 7c834282338f48093d88a0c44a83ee311b8aa739 (diff) | |
download | LibXtract-a275cd3fe2331a24de438a351bd24a1ff1f4fc69.tar.gz LibXtract-a275cd3fe2331a24de438a351bd24a1ff1f4fc69.tar.bz2 LibXtract-a275cd3fe2331a24de438a351bd24a1ff1f4fc69.zip |
Remove erroneous casts to void * in xtract() function calls
Diffstat (limited to 'examples/simpletest')
-rw-r--r-- | examples/simpletest/simpletest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simpletest/simpletest.c b/examples/simpletest/simpletest.c index 6b5ee30..d895944 100644 --- a/examples/simpletest/simpletest.c +++ b/examples/simpletest/simpletest.c @@ -50,7 +50,7 @@ int main(void) } /* get the mean of the input */ - xtract[XTRACT_MEAN]((void *)&input, BLOCKSIZE, NULL, (void *)&mean); + xtract[XTRACT_MEAN](input, BLOCKSIZE, NULL, &mean); printf("\nInput mean = %.2f\n\n", mean); /* get the spectrum */ @@ -60,7 +60,7 @@ int main(void) argd[3] = 0.f; /* No Normalisation */ xtract_init_fft(BLOCKSIZE, XTRACT_SPECTRUM); - xtract[XTRACT_SPECTRUM]((void *)&input, BLOCKSIZE, &argd[0], (void *)&spectrum[0]); + xtract[XTRACT_SPECTRUM](input, BLOCKSIZE, &argd[0], spectrum); /* print the spectral bins */ printf("\nSpectral bins:\n"); |