Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / vigra / vigra1.4.0-enumwarn.patch
blob8ea1ed7890da2254e771b5e929e9aa563e56ec03
1 --- misc/vigra1.4.0/include/vigra/sized_int.hxx 2012-03-28 13:36:02.743956393 +0200
2 +++ misc/build/vigra1.4.0/include/vigra/sized_int.hxx 2012-03-28 13:35:44.956057143 +0200
3 @@ -80,8 +80,8 @@
4 template<class LIST>
5 struct SelectBiggestIntegerType
7 - enum { cursize = LIST::size,
8 - nextsize = SelectBiggestIntegerType<typename LIST::next>::size,
9 + enum { cursize = static_cast< int >(LIST::size),
10 + nextsize = static_cast< int >(SelectBiggestIntegerType<typename LIST::next>::size),
11 size = (cursize < nextsize) ? nextsize : cursize };
12 typedef typename
13 IfBool<(cursize < nextsize),