This patch should fix it.
--- dasher-4.5.1/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp
2007-06-04 15:13:55.000000000 -0400
+++ /tmp/CTWLanguageModel.cpp 2007-06-07 15:37:03.546330789 -0400
@@ -410,7 +410,7 @@
delete [] Index;
// Copy the intervals associated with the actual symbols to the vector
Probs.
- Probs.assign(Interval.end()-(1<<NrPhases),
Interval.end()-(1<<NrPhases)+iNumSymbols);
+ Probs.assign((int)(Interval.end()-(1<<NrPhases)),
(int)(Interval.end()-(1<<NrPhases)+iNumSymbols));
pLeft +=Probs[0]; //symbol 0 is a special dummy symbol, should get
prob. 0
Probs[0] = 0;
Brett Albertson
This message posted from opensolaris.org