summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-22 12:38:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-22 12:38:13 (GMT)
commit0ff0a94010dcb27842e2f78515d4cfd9ae70ed26 (patch)
tree0039b2834b2fc851232d975823f4b59352cfff9b /libtommath/tommath.h
parentb556c1feccfb6f7985b80cc4fc906ab529ea6f01 (diff)
downloadtcl-0ff0a94010dcb27842e2f78515d4cfd9ae70ed26.zip
tcl-0ff0a94010dcb27842e2f78515d4cfd9ae70ed26.tar.gz
tcl-0ff0a94010dcb27842e2f78515d4cfd9ae70ed26.tar.bz2
Take over recent commmits on the support/1.x branch
Diffstat (limited to 'libtommath/tommath.h')
-rw-r--r--libtommath/tommath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index 2c4023c..fd28894 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -200,7 +200,7 @@ TOOM_SQR_CUTOFF;
#endif
/* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */
-#define PRIVATE_MP_WARRAY (int)(1uLL << (((CHAR_BIT * sizeof(private_mp_word)) - (2 * MP_DIGIT_BIT)) + 1))
+#define PRIVATE_MP_WARRAY (int)(1 << (((CHAR_BIT * (int)sizeof(private_mp_word)) - (2 * MP_DIGIT_BIT)) + 1))
#define MP_WARRAY (MP_DEPRECATED_PRAGMA("MP_WARRAY is an internal macro") PRIVATE_MP_WARRAY)
#if defined(__GNUC__) && __GNUC__ >= 4