Remove unused sys/time.h, remove snprintf, add casts for sign/unsigned complaints, all Visual C++
git-svn-id: https://cld2.googlecode.com/svn/trunk@78 b252ecd4-b096-bf77-eb8e-91563289f87e
This commit is contained in:
@@ -68,7 +68,7 @@ uint32 GetNextLangprob(ULScriptRType rtype,
|
||||
uint32 probs = QuadHashV3Lookup4(wrt_quadgram_obj, quadhash);
|
||||
int indirect_subscr = probs & ~wrt_quadgram_obj->kCLDTableKeyMask;
|
||||
uint32 langprob;
|
||||
if (indirect_subscr < wrt_quadgram_obj->kCLDTableSizeOne) {
|
||||
if (indirect_subscr < static_cast<int>(wrt_quadgram_obj->kCLDTableSizeOne)) {
|
||||
// Up to three languages at indirect
|
||||
langprob = wrt_quadgram_obj->kCLDTableInd[indirect_subscr];
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user