summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-10 15:18:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-10 15:18:36 (GMT)
commit2d27c96b7eebdceae93e88adf3ca88ebbc6efab5 (patch)
tree6810adb7c7d693252fa5b1c7e4490bf5634255e1 /libtommath
parentf608fa90db6aa15217b86bf87e9d3c9358373195 (diff)
downloadtcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.zip
tcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.tar.gz
tcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.tar.bz2
tommath_private.h : Remove special C4146 handling: already done in tclWinPort.h too.
tcl.pc.in: Make sure that libtommath >= 1.2.0
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/tommath_private.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h
index 072d603..5123f53 100644
--- a/libtommath/tommath_private.h
+++ b/libtommath/tommath_private.h
@@ -276,10 +276,6 @@ MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len);
MP_ZERO_DIGITS(a->dp + a->used, a->alloc - a->used); \
}
-#ifdef _MSC_VER
-/* Prevent false positive: unary minus operator applied to unsigned type, result still unsigned */
-#pragma warning(disable: 4146)
-#endif
#define MP_SET_SIGNED(name, uname, type, utype) \
void name(mp_int * a, type b) \
{ \