Hi Steve,

I'd like to change this code in LinePreparer (and a copy in LinePreparerFilter)

            // XXX: relies on the fact that java integers are 32 bit signed
            final int offset = 8+shift;
to

            final int offset = (Integer.SIZE - 24) + shift;

As you see I assume the value 8 is the result of 32 - 24.
and I guess that 24 is the maximum resolution.
Maybe we have a proper constant for that ?

Gerd
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to