gcc_64_bit.patch revision c7f5f8508d98d5952d42ed7648c2a8f30a4da156
1Index: dtoa.cc 2--- dtoa.cc (old copy) 3+++ dtoa.cc (working copy) 4@@ -183,8 +183,12 @@ 5 #define NO_HEX_FP 6 7 #ifndef Long 8+#if __LP64__ 9+#define Long int 10+#else 11 #define Long long 12 #endif 13+#endif 14 #ifndef ULong 15 typedef unsigned Long ULong; 16 #endif 17@@ -221,7 +225,7 @@ extern void *MALLOC(size_t); 18 #ifndef PRIVATE_MEM 19 #define PRIVATE_MEM 2304 20 #endif 21-#define PRIVATE_mem ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double)) 22+#define PRIVATE_mem ((unsigned)((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))) 23 static double private_mem[PRIVATE_mem], *pmem_next = private_mem; 24 #endif 25 26