From 080fc4c0943dc1616c5905b1eb417d2564716095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Fri, 7 Jun 2013 14:15:13 +0200 Subject: [PATCH] Fixed some compiler warnings. p4#: 21853 --- ApplicationCode/SocketInterface/RiaGeometryCommands.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ApplicationCode/SocketInterface/RiaGeometryCommands.cpp b/ApplicationCode/SocketInterface/RiaGeometryCommands.cpp index c4b43bc936..d938825803 100644 --- a/ApplicationCode/SocketInterface/RiaGeometryCommands.cpp +++ b/ApplicationCode/SocketInterface/RiaGeometryCommands.cpp @@ -97,7 +97,7 @@ public: std::vector cellCenterValues(doubleValueCount); cvf::Vec3d cornerVerts[8]; quint64 coordCount = 0; - for (size_t coordIdx = 0; coordIdx < 3; coordIdx++) + for (int coordIdx = 0; coordIdx < 3; coordIdx++) { for (size_t k = 0; k < cellCountK; k++) { @@ -199,7 +199,7 @@ public: std::vector cellCenterValues(doubleValueCount); quint64 coordCount = 0; - for (size_t coordIdx = 0; coordIdx < 3; coordIdx++) + for (int coordIdx = 0; coordIdx < 3; coordIdx++) { for (size_t globalCellIdx = 0; globalCellIdx < mainGrid->cells().size(); globalCellIdx++) { @@ -293,7 +293,7 @@ public: std::vector cellCornerValues(doubleValueCount); cvf::Vec3d cornerVerts[8]; quint64 coordCount = 0; - for (size_t coordIdx = 0; coordIdx < 3; coordIdx++) + for (int coordIdx = 0; coordIdx < 3; coordIdx++) { for (size_t cornerIdx = 0; cornerIdx < 8; cornerIdx++) { @@ -401,7 +401,7 @@ public: std::vector cellCornerValues(doubleValueCount); cvf::Vec3d cornerVerts[8]; quint64 coordCount = 0; - for (size_t coordIdx = 0; coordIdx < 3; coordIdx++) + for (int coordIdx = 0; coordIdx < 3; coordIdx++) { for (size_t cornerIdx = 0; cornerIdx < 8; cornerIdx++) {