fixed several compile errors/warnings; reacted on the PR comments

This commit is contained in:
Vadim Pisarevsky
2013-12-01 20:58:30 +04:00
parent 6da5d21331
commit d7f4a223cf
5 changed files with 19 additions and 22 deletions

View File

@@ -201,7 +201,7 @@ void CV_UMatTest::run( int /* start_from */)
TEST(Core_UMat, base) { CV_UMatTest test; test.safe_run(); }
TEST(Core_UMat, simple)
TEST(Core_UMat, getUMat)
{
{
int a[3] = { 1, 2, 3 };
@@ -216,7 +216,7 @@ TEST(Core_UMat, simple)
{
uchar * const ptr = m.ptr<uchar>(y);
for (int x = 0; x < m.cols; ++x)
ptr[x] = x + y * 2;
ptr[x] = (uchar)(x + y * 2);
}
ref = m.clone();