summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarakmon <thomastaps194@comcast.net>2018-06-16 19:20:10 -0400
committergarakmon <thomastaps194@comcast.net>2018-06-16 19:20:10 -0400
commit9acd55ae4f9e455a92765aaee5929240097f9f8f (patch)
tree9210c1fc0c0627bf7bbbace8c45210501c944c0d
parent9766108fbc343dec01d3690c1ed8e38daa84d131 (diff)
re-initializing structs in tools/aif2pcm/main.c
initializing all fields because clang doesn’t understand {0}
-rw-r--r--tools/aif2pcm/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aif2pcm/main.c b/tools/aif2pcm/main.c
index b6287a1dd..51dbf1bb9 100644
--- a/tools/aif2pcm/main.c
+++ b/tools/aif2pcm/main.c
@@ -469,12 +469,12 @@ do { \
void aif2pcm(const char *aif_filename, const char *pcm_filename, bool compress)
{
struct Bytes *aif = read_bytearray(aif_filename);
- AifData aif_data;
+ AifData aif_data = {0,0,0,0,0,0,0};
read_aif(aif, &aif_data);
int header_size = 0x10;
struct Bytes *pcm;
- struct Bytes output;
+ struct Bytes output = {0,0};
if (compress)
{