Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses
diff options
context:
space:
mode:
authorChristian Federmann <cfedermann@gmail.com>2012-05-09 23:45:26 +0400
committerChristian Federmann <cfedermann@gmail.com>2012-05-09 23:45:26 +0400
commita18a5542b460023ef65ef578b5dc9e0eef1c1589 (patch)
treeedbf11278ef49e7fdd97915677ba327d5c202d93 /moses
parent0e16d637c394e24517d03e37e1f69c7f9de790e5 (diff)
Fixed compiler warning.
Diffstat (limited to 'moses')
-rw-r--r--moses/src/ReorderingConstraint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/src/ReorderingConstraint.cpp b/moses/src/ReorderingConstraint.cpp
index ea0c1b807..aede7002d 100644
--- a/moses/src/ReorderingConstraint.cpp
+++ b/moses/src/ReorderingConstraint.cpp
@@ -186,7 +186,7 @@ bool ReorderingConstraint::Check( const WordsBitmap &bitmap, size_t startPos, si
// check, if we are setting us up for a dead end due to distortion limits
- int distortionLimit = StaticData::Instance().GetMaxDistortion();
+ size_t distortionLimit = (size_t)StaticData::Instance().GetMaxDistortion();
if (startPos != firstGapPos && endZone-firstGapPos >= distortionLimit) {
VERBOSE(3," dead end due to distortion limit" << std::endl);
return false;