]> git.sur5r.net Git - cc65/commit
Fixed a bug: The compiler evaluated constant expressions internally always
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 26 Aug 2007 18:53:46 +0000 (18:53 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 26 Aug 2007 18:53:46 +0000 (18:53 +0000)
commit10c949062bd22ee4b06c712c069226dc95a547af
treeacc07ed7a6bd556fc9515c816f20c00eb2b29bf6
parenta47008cca00d08cb105d9b5363cc23a2fa944f77
Fixed a bug: The compiler evaluated constant expressions internally always
using signed integers as data types. This led to wrong results for mod, div
and compares.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3797 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/datatype.h
src/cc65/expr.c