summaryrefslogtreecommitdiff
path: root/src/test_seeking/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_seeking/main.c')
-rw-r--r--src/test_seeking/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_seeking/main.c b/src/test_seeking/main.c
index 589e8596..46ea9c4b 100644
--- a/src/test_seeking/main.c
+++ b/src/test_seeking/main.c
@@ -153,7 +153,7 @@ static FLAC__bool read_pcm_(FLAC__int32 *pcm[], const char *rawfilename, const c
return false;
}
for(i = 0; i < channels; i++) {
- if(0 == (pcm[i] = (FLAC__int32*)malloc(sizeof(FLAC__int32)*samples))) {
+ if(0 == (pcm[i] = malloc(sizeof(FLAC__int32)*samples))) {
printf("ERROR: allocating space for PCM samples\n");
return false;
}