diff --git a/sparsePregraph/build_preArc.cpp b/sparsePregraph/build_preArc.cpp index 7cf5c25..ad4f2ca 100644 --- a/sparsePregraph/build_preArc.cpp +++ b/sparsePregraph/build_preArc.cpp @@ -27,6 +27,8 @@ #include "global.h" #include "multi_threads.h" +#include + #include #include "bam.h" #include "faidx.h" diff --git a/sparsePregraph/multi_threads.cpp b/sparsePregraph/multi_threads.cpp index 6808834..5aa755d 100644 --- a/sparsePregraph/multi_threads.cpp +++ b/sparsePregraph/multi_threads.cpp @@ -25,6 +25,8 @@ #include "build_graph.h" #include "stdinc.h" +#include + #include "build_preArc.h" void creatThrds ( pthread_t * threads, PARAMETER * paras ) diff --git a/sparsePregraph/pregraph_sparse.cpp b/sparsePregraph/pregraph_sparse.cpp index 53b687e..cd422f3 100644 --- a/sparsePregraph/pregraph_sparse.cpp +++ b/sparsePregraph/pregraph_sparse.cpp @@ -24,6 +24,8 @@ #include "stdinc.h" #include "core.h" +#include + #include "multi_threads.h" #include "build_graph.h" #include "build_edge.h" diff --git a/standardPregraph/orderContig.c b/standardPregraph/orderContig.c index 933058b..b79ae61 100644 --- a/standardPregraph/orderContig.c +++ b/standardPregraph/orderContig.c @@ -3202,7 +3202,7 @@ void ScafStat ( int len_cut, char * graphfile ) Singleton_Seq[Scaffold_Number] = 0; Nucleotide = fgetc ( fp ); - while ( Nucleotide != EOF ) + while ( Nucleotide != (char) EOF ) /* Bug Fix */ { if ( Nucleotide == '>' ) { @@ -3529,7 +3529,7 @@ void ScafStat ( int len_cut, char * graphfile ) Singleton_Seq[Scaffold_Number] = 0; Nucleotide = fgetc ( fp2 ); - while ( Nucleotide != EOF ) + while ( Nucleotide != (char) EOF ) /* Bug Fix */ { if ( Nucleotide == '>' ) {