From 10034c2ac0af8aed061aa843fc01488a656ab3c2 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 21 Dec 2006 16:38:41 +0000
Subject: [PATCH] avoid warnings

[[Imported from SVN: r1103]]
---
 src/rodwriter.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/rodwriter.hh b/src/rodwriter.hh
index 2365d7bd..a89af411 100644
--- a/src/rodwriter.hh
+++ b/src/rodwriter.hh
@@ -122,7 +122,7 @@ void writeRod(const std::vector<Configuration>& rod,
     // ///////////////////////////////////////
     outfile << "@1" << std::endl;
 
-    for (int i=0; i<rod.size(); i++)
+    for (size_t i=0; i<rod.size(); i++)
         //outfile << rod[i].r[0] << "  " << rod[i].r[1] << "  " << rod[i].r[2] << std::endl;
         outfile << rod[i].r << std::endl;
 
@@ -132,12 +132,12 @@ void writeRod(const std::vector<Configuration>& rod,
     // ///////////////////////////////////////
     outfile << std::endl << "@2" << std::endl;
 
-    for (int i=0; i<rod.size(); i++) 
+    for (size_t i=0; i<rod.size(); i++) 
         outfile << rod[i].q.director(0) << std::endl;
 
     outfile << std::endl << "@3" << std::endl;
 
-    for (int i=0; i<rod.size(); i++) 
+    for (size_t i=0; i<rod.size(); i++) 
         outfile << rod[i].q.director(1) << std::endl;
 
 
-- 
GitLab