]> git.sur5r.net Git - cc65/commit
Changed the type of a compiler variable that holds either integers or pointers. 571/head
authorGreg King <gregdk@users.sf.net>
Mon, 8 Jan 2018 17:47:00 +0000 (12:47 -0500)
committerGreg King <gregdk@users.sf.net>
Tue, 9 Jan 2018 10:34:16 +0000 (05:34 -0500)
commitc67e90dd19497286f02e02f9c0d2641a509ddaa6
treefec9579f907c4f220c03095391bec4e54f0d7188
parentda22c90d33fcd4466f770f54755dbb886530f6ee
Changed the type of a compiler variable that holds either integers or pointers.

The change allows cc65 to be compiled on 64-bit Windows, without getting warnings.  That OS is actually 32 bits with 64-bit pointers.  Its pointers are "long long" instead of "long".  The change uses type-names that are configured for the actual pointer width.
src/cc65/codegen.c
src/cc65/codegen.h
src/cc65/expr.c
src/cc65/exprdesc.c
src/cc65/exprdesc.h
src/common/inttypes.h