shithub: scc

Download patch

ref: 3125bcdb402be89f1847de69f5f491b832e31cd4
parent: 5c1c29b22a2402dd6e830f9d1e1bf7f16738d0d1
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Aug 31 17:19:26 EDT 2015

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.

--- a/inc/cc.h
+++ b/inc/cc.h
@@ -13,8 +13,8 @@
 #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