Fix fit16i() for systems with 64-bit long.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 16 Sep 2012 23:57:07 +0000 (19:57 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 16 Sep 2012 23:57:07 +0000 (19:57 -0400)
commit99eb12a282e19bb39aa0dfccf349f703e636c2e3
treeee9484c06f8bca8de5fa75ce6d09c9231b5f146c
parent96ea0a590334d993df72644e61fa94eb95e7a2db
Fix fit16i() for systems with 64-bit long.

(long)0xFFFF8000 had expanded to 0x00000000FFFF8000.
With (long)(-0x8000), the compiler now extends the negative sign.
modules/src/em_code/k/em.c