[mkgmap-dev] Bit operatons in mkgmap
From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Jul 20 07:20:35 BST 2016
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160720/d16eabe2/attachment-0001.html>
- Previous message: [mkgmap-dev] Commit r3681: add check for possible null pointer exception (NPE)
- Next message: [mkgmap-dev] Bit operatons in mkgmap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list