From: Jürgen Spitzmüller Date: Thu, 18 Sep 2008 16:29:27 +0000 (+0000) Subject: get rid of two compiler warnings. X-Git-Tag: 1.6.10~3419 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0bb14ddfc7121647bbdf46d5b5f2bbec238d38a6;p=features.git get rid of two compiler warnings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26444 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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];