fix compilation with compaq cxx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3050 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-20 14:59:39 +00:00
parent 932884ff5b
commit 26685ea29b

View File

@ -295,15 +295,18 @@ void MathHullInset::header_write(WriteStream & os) const
break;
case LM_OT_ALIGNAT:
os << "\\begin{alignat" << star(n) << "}" << "{" << ncols()/2 << "}\n";
os << "\\begin{alignat" << star(n) << "}"
<< "{" << static_cast<unsigned int>(ncols()/2) << "}\n";
break;
case LM_OT_XALIGNAT:
os << "\\begin{xalignat" << star(n) << "}" << "{" << ncols()/2 << "}\n";
os << "\\begin{xalignat" << star(n) << "}"
<< "{" << static_cast<unsigned int>(ncols()/2) << "}\n";
break;
case LM_OT_XXALIGNAT:
os << "\\begin{xxalignat}" << "{" << ncols()/2 << "}\n";
os << "\\begin{xxalignat}"
<< "{" << static_cast<unsigned int>(ncols()/2) << "}\n";
break;
case LM_OT_MULTLINE: