]> git.donarmstrong.com Git - rsem.git/blobdiff - ReadIndex.h
Allowed > 2^31 hits
[rsem.git] / ReadIndex.h
index 61ecd1424eb077e69fee072df4c894a8712f0871..293e4a3a651d35768fe3fe4dd4f8fb397ea48bb6 100644 (file)
@@ -9,7 +9,7 @@
 #include "utils.h"
 
 struct ReadIndex {
-       long nReads;
+       READ_INT_TYPE nReads;
        int gap, nPos;
        std::streampos *index;
 
@@ -45,7 +45,7 @@ struct ReadIndex {
        }
 
        //rid  0-based , return crid : current seeked rid
-       long locate(long rid, std::ifstream& out) {
+       READ_INT_TYPE locate(READ_INT_TYPE rid, std::ifstream& out) {
                if (index == NULL) {
                        out.seekg(0, std::ios::beg);
                        return 0;