From 2c34b7cffc2f729a1192dcf283fd0931fff92ca7 Mon Sep 17 00:00:00 2001 From: Marco Borelli Date: Fri, 3 Apr 2015 17:44:58 +0200 Subject: [PATCH] Fix integer type mismatch --- source/base/table_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/base/table_handler.cc b/source/base/table_handler.cc index fa49131bf0..bf7dd376f1 100644 --- a/source/base/table_handler.cc +++ b/source/base/table_handler.cc @@ -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::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()); -- 2.39.5