aboutsummaryrefslogtreecommitdiff
path: root/src/math/poly.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/poly.c')
-rw-r--r--src/math/poly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/poly.c b/src/math/poly.c
index 50d0da0..2b655da 100644
--- a/src/math/poly.c
+++ b/src/math/poly.c
@@ -2729,7 +2729,7 @@ polynomial_t *poly_find(unsigned long m) {
len_penta = sizeof(hp_pentanomials) / sizeof(polynomial_t);
}
- polynomial_t searched = {(int)m};
+ polynomial_t searched = {(unsigned int)m};
polynomial_t *tri = (polynomial_t *)bsearch(
&searched, search_tri, len_tri, sizeof(polynomial_t), &compare_poly);
if (tri) {