diff options
author | mfederico <mfederico@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-10-20 18:03:06 +0400 |
---|---|---|
committer | mfederico <mfederico@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-10-20 18:03:06 +0400 |
commit | 9ad47678fe78509d37e8bfa7bf7ac457858f5289 (patch) | |
tree | 2281332069a88c40cd099f8a80f1184f6e95eb54 /irstlm/src/lmtable.h | |
parent | ff4e1b3ac7036c45924f2a37ecba2cf01ed3d0a0 (diff) |
lmtable filter2: converted some int into long.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@901 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'irstlm/src/lmtable.h')
-rw-r--r-- | irstlm/src/lmtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/irstlm/src/lmtable.h b/irstlm/src/lmtable.h index 8dc9cd8db..4171dabea 100644 --- a/irstlm/src/lmtable.h +++ b/irstlm/src/lmtable.h @@ -69,7 +69,7 @@ private: public: disktable(std::fstream& inp, int buffersize, int entrysize,long max_entries){ - buffer_size=buffersize; + buffer_size=buffersize; entry_size=entrysize; buffer=new char[(buffer_size+1) * entry_size]; current_border=0; @@ -79,7 +79,7 @@ public: ~disktable() {delete [] buffer;}; - char* get(std::fstream& inp,int position){ + char* get(std::fstream& inp,long position){ assert(position < file_border); //you can look back at maximum one position before the first in the buffer! |