From eff77a2eaf100770efd49ff91a913183f4073907 Mon Sep 17 00:00:00 2001 From: Jay Rainey Date: Wed, 2 Apr 2014 13:48:53 +0100 Subject: [PATCH] Fix warning. Refs #9223. --- Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp b/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp index 5c582646d600..98f82e25f19e 100644 --- a/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp +++ b/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp @@ -807,7 +807,7 @@ namespace Mantid // Remove each investigation returned from `myData` // were the user does not have create/write access. - for (int row = ws->rowCount() - 1; row >= 0; --row) + for (int row = static_cast(ws->rowCount()) - 1; row >= 0; --row) { // The investigation used to check CREATE access against. ns1__investigation investigation;