]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix integer type mismatch 734/head
authorMarco Borelli <marco.borelli11@gmail.com>
Fri, 3 Apr 2015 15:44:58 +0000 (17:44 +0200)
committerMarco Borelli <marco.borelli11@gmail.com>
Fri, 3 Apr 2015 15:50:27 +0000 (17:50 +0200)
source/base/table_handler.cc

index fa49131bf0b2c55f8b71580557a13f7bdf4e41e1..bf7dd376f17b72a82e12b4b17fcb013d296107b6 100644 (file)
@@ -734,7 +734,7 @@ void TableHandler::clear_current_row ()
 {
   // Figure out what is the currect (max) length of the columns
   // so that we "shave" one off.
-  unsigned long n = 0;
+  std::vector<internal::TableEntry>::size_type n = 0;
   for (std::map< std::string, Column >::iterator p = columns.begin(); p != columns.end(); ++p)
     n = std::max(n, p->second.entries.size());
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.