opnsense-ports/math/cocoalib/files/extra-patch-include-CoCoA_config.H
Franco Fichtner 1a94cddae8 */*: sync with upstream
Taken from: HardenedBSD
2020-06-15 05:08:50 +02:00

11 lines
514 B
C

--- include/CoCoA/config.H.orig 2020-06-09 22:18:10 UTC
+++ include/CoCoA/config.H
@@ -25,7 +25,7 @@ namespace CoCoA
// This is the type used internally for "small" exponents in some PPMonoids
// (PPMonoidEv, PPMonoidEvOv). Also implies the number of bits used for a
// "compressed entry" in an order vector (see OrdvArith).
- typedef unsigned int SmallExponent_t;
+ typedef unsigned short SmallExponent_t;
// **ROUNDING**
// The way CoCoALib rounds halves is determined by the fns RoundDiv in