X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=buildReadIndex.cpp;h=7fde02511d7c1083441aaf802149a9d0330db8d6;hp=c9e1deb729c1b948a48a7a6c4e10b48806dfb04e;hb=refs%2Fheads%2Fupstream;hpb=86e650e9577999a7ba00ab454d1f6bf674b0ea70 diff --git a/buildReadIndex.cpp b/buildReadIndex.cpp index c9e1deb..7fde025 100644 --- a/buildReadIndex.cpp +++ b/buildReadIndex.cpp @@ -13,7 +13,7 @@ bool hasQ; void buildIndex(char* readF, int gap, bool hasQ) { int nPos; - long nReads; + READ_INT_TYPE nReads; bool success; string line; char idxF[STRLEN]; @@ -53,7 +53,7 @@ void buildIndex(char* readF, int gap, bool hasQ) { } ++nReads; - if (verbose && nReads % 1000000 == 0) { printf("FIN %lld\n", (long long)nReads); } + if (verbose && nReads % 1000000 == 0) { cout<< "FIN "<< nReads<< endl; } } while (success); fout.seekp(startPos); @@ -64,7 +64,7 @@ void buildIndex(char* readF, int gap, bool hasQ) { fin.close(); fout.close(); - if (verbose) { printf("Build Index %s is Done!\n", readF); } + if (verbose) { cout<< "Build Index "<< readF<< " is Done!"<< endl; } } int main(int argc, char* argv[]) {