scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 3125bcdb402be89f1847de69f5f491b832e31cd4
parent 5c1c29b22a2402dd6e830f9d1e1bf7f16738d0d1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 31 Aug 2015 21:19:26 +0200

Increment size of TINT and TUINT

These types must have a range that at least is equal
to the range of the target integer. If the type is
bigger enough, then it may allow do calculus also
in bigger types than int.

Diffstat:
inc/cc.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/cc.h b/inc/cc.h @@ -13,8 +13,8 @@ typedef unsigned bool; #define DBG(...) #endif -#define TINT long -#define TUINT unsigned long +#define TINT long long +#define TUINT unsigned long long #define TFLOAT double #define RANK_BOOL 0