Mercurial > hg > orthanc
diff UnitTestsSources/FromDcmtkTests.cpp @ 1654:3727a09e7b53
fix some icc warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 Sep 2015 15:03:35 +0200 |
parents | 4e56b5a206b7 |
children | ae09132e4237 |
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp Mon Sep 28 13:49:48 2015 +0200 +++ b/UnitTestsSources/FromDcmtkTests.cpp Mon Sep 28 15:03:35 2015 +0200 @@ -181,7 +181,7 @@ img.SetHeight(256); img.SetFormat(PixelFormat_Grayscale16); - int v = 0; + uint16_t v = 0; for (unsigned int y = 0; y < img.GetHeight(); y++) { uint16_t *p = reinterpret_cast<uint16_t*>(img.GetAccessor().GetRow(y));