1 warning: passing ‘libwps::Justification’ chooses ‘int’ over ‘unsigned int’
3 diff -ru wps.old/src/lib/WPSParagraph.cpp wps/src/lib/WPSParagraph.cpp
4 --- wps.old/src/lib/WPSParagraph.cpp 2012-10-29 14:44:09.135977333 +0100
5 +++ wps/src/lib/WPSParagraph.cpp 2012-10-29 14:44:13.649981497 +0100
7 o << "just=fullAllLines, ";
10 - o << "just=" << pp.m_justify << ", ";
11 + assert(false); // unhandled Justification enum value
12 + o << "just=" << static_cast<unsigned>(pp.m_justify) << ", ";