Package: parsinsert / 1.04-2

fix-gcc6.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: fix building on GCC 6
 Use correct initialization for char* array.
Author: Sascha Steinbiss <sascha@steinbiss.name>
--- a/ParsInsert.cpp
+++ b/ParsInsert.cpp
@@ -95,7 +95,7 @@
 char                *seqFilename    = "PI_Tree.fasta";
 char                *fullTreeName   = NULL;
 
-char                *files[64]      = {64*0};
+char                *files[64]      = {NULL};
 int                 nfiles          = 0;
 
 BOOL                precision       = FALSE;