On Wed, Dec 15, 2010 at 11:16:34PM +0100, Jean-Marc Lasgouttes wrote:
> Le 15/12/2010 22:36, Stephan Witt a écrit :
> >I tried to compile LyX with -pedantic option.
> >
> >Most warnings are easy to fix. See the attached patch.
> 
> The patch looks correct, except for some of the casts in .m files (but
> they can probably not be avoided).
> 
> >But one isn't that easy:
> >
> >src/frontends/qt4/GuiProgressView.cpp: In member function 'void 
> >lyx::frontend::GuiProgressView::debugSelectionChanged()':
> >src/frontends/qt4/GuiProgressView.cpp:149: warning: overflow in implicit 
> >constant conversion
> >
> 
> Don't know.

Try replacing "int level" with "unsigned int level".

-- 
Enrico

Reply via email to