Re: [AD] Borland C++ compilation errors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, Nov 04, 2001 at 03:13:39PM +0100, Eric Botcazou wrote:
> > The patch looks ok for me
> 
> Ok, I'm going to apply it.
> 
> Javier, could you test the tiny attached patch with MSVC ? BC++ complains
> about 0x80000000 being an unsigned integer and gives me a 'comparison
> between signed and unsigned integers' warning. Thanks in advance.

Surely that function now always returns 0x7FFF?  Assuming
`fixed' is still `int', (fixed)0x8000000 is the lowest number
possibly representable by an int (by 2's complement).  So the
comparison is always true.

George



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/