diff options
author | Christian Federmann <cfedermann@gmail.com> | 2012-05-09 23:45:26 +0400 |
---|---|---|
committer | Christian Federmann <cfedermann@gmail.com> | 2012-05-09 23:45:26 +0400 |
commit | a18a5542b460023ef65ef578b5dc9e0eef1c1589 (patch) | |
tree | edbf11278ef49e7fdd97915677ba327d5c202d93 /moses | |
parent | 0e16d637c394e24517d03e37e1f69c7f9de790e5 (diff) |
Fixed compiler warning.
Diffstat (limited to 'moses')
-rw-r--r-- | moses/src/ReorderingConstraint.cpp | 2 |
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; |