summaryrefslogtreecommitdiff
path: root/src/test_libFLAC/metadata_manip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_libFLAC/metadata_manip.c')
-rw-r--r--src/test_libFLAC/metadata_manip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c
index 19c4e147..62b9298d 100644
--- a/src/test_libFLAC/metadata_manip.c
+++ b/src/test_libFLAC/metadata_manip.c
@@ -186,7 +186,7 @@ static FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **t
{
static const char *tempfile_suffix = ".metadata_edit";
- if(0 == (*tempfilename = (char*)malloc(strlen(filename) + strlen(tempfile_suffix) + 1)))
+ if(0 == (*tempfilename = malloc(strlen(filename) + strlen(tempfile_suffix) + 1)))
return false;
strcpy(*tempfilename, filename);
strcat(*tempfilename, tempfile_suffix);