aboutsummaryrefslogtreecommitdiff
path: root/src/math/koblitz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/koblitz.c')
-rw-r--r--src/math/koblitz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/koblitz.c b/src/math/koblitz.c
index 48eec2a..10467e3 100644
--- a/src/math/koblitz.c
+++ b/src/math/koblitz.c
@@ -63,7 +63,7 @@ const koblitz_t *koblitz_find(unsigned int m, unsigned int a) {
sizeof(koblitz_t), &compare_koblitz);
}
-GEN koblitz_get_order(unsigned long m, unsigned int a) {
+GEN koblitz_get_order(unsigned int m, unsigned int a) {
const koblitz_t *found = koblitz_find(m, a);
if (found) {
return strtoi(found->hex_order);