summaryrefslogtreecommitdiffstats
path: root/src/Float32Data2D.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-16 19:03:52 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-16 19:03:52 +0200
commit6a7b605102f1c22224b516906cb4a848cda50a3b (patch)
tree141cc3422a0061ecb8e7e67df27f69d42b166398 /src/Float32Data2D.cpp
parent85e3fd19f7ed594395e795f2b9fd0b6b42231a3a (diff)
downloadastra-6a7b605102f1c22224b516906cb4a848cda50a3b.tar.gz
astra-6a7b605102f1c22224b516906cb4a848cda50a3b.tar.bz2
astra-6a7b605102f1c22224b516906cb4a848cda50a3b.tar.xz
astra-6a7b605102f1c22224b516906cb4a848cda50a3b.zip
Fix warning
Diffstat (limited to 'src/Float32Data2D.cpp')
-rw-r--r--src/Float32Data2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Float32Data2D.cpp b/src/Float32Data2D.cpp
index 56ea7cc..c5d2cc8 100644
--- a/src/Float32Data2D.cpp
+++ b/src/Float32Data2D.cpp
@@ -286,7 +286,7 @@ void CFloat32Data2D::_allocateData()
ASTRA_ASSERT(!m_bInitialized);
ASTRA_ASSERT(m_iSize > 0);
- ASTRA_ASSERT(m_iSize == (size_t)m_iWidth * m_iHeight);
+ ASTRA_ASSERT((size_t)m_iSize == (size_t)m_iWidth * m_iHeight);
ASTRA_ASSERT(m_pfData == NULL);
ASTRA_ASSERT(m_ppfData2D == NULL);