diff options
| author | J08nY | 2017-05-23 19:47:10 +0200 |
|---|---|---|
| committer | J08nY | 2017-05-23 19:47:10 +0200 |
| commit | ca21d236ea409fa40f4bda693777054add7ef73f (patch) | |
| tree | 2f48596d5a28c631be159bed5637e3350f187f4b /src/math/poly.c | |
| parent | 3f9e42b055c305f05da3f57b2501600488d377a7 (diff) | |
| download | ecgen-ca21d236ea409fa40f4bda693777054add7ef73f.tar.gz ecgen-ca21d236ea409fa40f4bda693777054add7ef73f.tar.zst ecgen-ca21d236ea409fa40f4bda693777054add7ef73f.zip | |
Diffstat (limited to 'src/math/poly.c')
| -rw-r--r-- | src/math/poly.c | 2 |
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) { |
