From 0bb14ddfc7121647bbdf46d5b5f2bbec238d38a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 18 Sep 2008 16:29:27 +0000 Subject: [PATCH] get rid of two compiler warnings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26444 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ca41cd91ef..456bc5faee 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -1818,7 +1818,7 @@ int Tabular::TeXTopHLine(odocstream & os, row_type row) const // get for each column the topline (if any) col_type const ncols = column_info.size(); vector topline; - int nset = 0; + col_type nset = 0; for (col_type c = 0; c < ncols; ++c) { topline.push_back(topLine(cellIndex(row, c))); if (topline[c]) @@ -1869,7 +1869,7 @@ int Tabular::TeXBottomHLine(odocstream & os, row_type row) const } // combine this row's bottom lines and next row's toplines if necessary - int nset = 0; + col_type nset = 0; for (col_type c = 0; c < ncols; ++c) { if (!nextrowset) bottomline[c] = bottomline[c] || topline[c]; -- 2.39.2