Fix build warnings

This commit is contained in:
Andrey Kamaev
2012-08-19 19:36:43 +04:00
parent 7d2b7b801a
commit 1a621c2916
10 changed files with 35 additions and 35 deletions

View File

@@ -290,7 +290,7 @@ namespace
normalizeHistogram(weights, nfeatures);
}
fgmask_row[x] = (uchar)(-isForeground);
fgmask_row[x] = (uchar)(-(schar)isForeground);
}
}
}