logo separator

[mkgmap-dev] methods to write signed / unsigned integers

From Steve Ratcliffe steve at parabola.me.uk on Wed Feb 21 22:40:35 GMT 2018

Hi

And here is the patch for just the reading side.

I decided that it was best to leave in 'byte get()' as there are many 
places where a byte is used to hold the result and a cast would be 
needed for 'int get1()'.

The tests pass, but there is more scope for getting this patch wrong
so needs some good testing.

Also display project would have to be patched to match.

..Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: getting.patch
Type: text/x-patch
Size: 36525 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180221/f551e0c5/attachment-0001.bin>


More information about the mkgmap-dev mailing list