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 b553cf6..ca91160 100644
--- a/src/math/koblitz.c
+++ b/src/math/koblitz.c
@@ -57,7 +57,7 @@ static int compare_koblitz(const void *a, const void *b) {
}
const koblitz_t *koblitz_find(unsigned long m, unsigned long a) {
- koblitz_t searched = {(unsigned int) m, (unsigned int) a, NULL};
+ koblitz_t searched = {(unsigned int)m, (unsigned int)a, NULL};
return (koblitz_t *)bsearch(&searched, koblitz_curves,
sizeof(koblitz_curves) / sizeof(koblitz_t),
sizeof(koblitz_t), &compare_koblitz);