[Saga-devel] saga SVN commit 3360: /trunk/tools/clutils/context/

amerzky at cct.lsu.edu amerzky at cct.lsu.edu
Fri Jan 23 19:28:32 CST 2009


User: amerzky
Date: 2009/01/23 07:28 PM

Modified:
 /trunk/tools/clutils/context/
  saga-context.cpp

Log:
 fix

File Changes:

Directory: /trunk/tools/clutils/context/
========================================

File [modified]: saga-context.cpp
Delta lines: +2 -2
===================================================================
--- trunk/tools/clutils/context/saga-context.cpp	2009-01-24 01:27:30 UTC (rev 3359)
+++ trunk/tools/clutils/context/saga-context.cpp	2009-01-24 01:28:30 UTC (rev 3360)
@@ -14,7 +14,7 @@
 
   std::cout << " ------------------------------ " << std::endl;
 
-  for ( int i = 0; i < attribs.size (); i++ )
+  for ( unsigned int i = 0; i < attribs.size (); i++ )
   {
     std::cout << " " << attribs[i] << " \t: ";
 
@@ -22,7 +22,7 @@
     {
       std::vector <std::string> vals = c.get_vector_attribute (attribs[i]);
 
-      for ( int j = 0; j < vals.size (); j++ )
+      for ( unsigned int j = 0; j < vals.size (); j++ )
       {
         std::cout << vals[j] << " ";
       }



More information about the saga-devel mailing list