[postgis-devel] ready for 1.1.6 ?

strk at refractions.net strk at refractions.net
Thu Nov 2 01:57:31 PST 2006


On Thu, Nov 02, 2006 at 10:35:27AM +0100, Markus Schaber wrote:

> >>  wktunparse.c: In function 'unparse_WKB':
> >>  wktunparse.c:580: warning: comparison is always false due to limited range of data type
> > 
> > Could you try using an explicit cast:
> > 
> > -       if ( endian == -1 )
> > +       if ( endian == (char)-1 )
> 
> It seems that Ingo is on Holidays now, and I don't have access to that
> machine, but I'll see whether I can change that.

Note that I committed this patch already, needs only to be tested.
Best would be adding a regress test which would fail in a precedent
release (if possible)

--strk;



More information about the postgis-devel mailing list