From 7300a49309f13aee9d21e39bf0e2638a461b21fc Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 28 Nov 2016 17:05:09 +0100 Subject: Fix warnings --- src/CudaSartAlgorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CudaSartAlgorithm.cpp') diff --git a/src/CudaSartAlgorithm.cpp b/src/CudaSartAlgorithm.cpp index 645b40c..a768db9 100644 --- a/src/CudaSartAlgorithm.cpp +++ b/src/CudaSartAlgorithm.cpp @@ -98,7 +98,7 @@ bool CCudaSartAlgorithm::initialize(const Config& _cfg) } else if (projOrder == "custom") { vector projOrderList = _cfg.self.getOptionNumericalArray("ProjectionOrderList"); projectionOrder = new int[projOrderList.size()]; - for (int i = 0; i < projOrderList.size(); i++) { + for (unsigned int i = 0; i < projOrderList.size(); i++) { projectionOrder[i] = static_cast(projOrderList[i]); } sart->setProjectionOrder(projectionOrder, projectionCount); -- cgit v1.2.3