summaryrefslogtreecommitdiffhomepage
path: root/ecc.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-25 23:08:33 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-25 23:08:33 +0800
commitc5e36f8e3cd390b77ce43f58f01b3d3a9111d989 (patch)
tree0924f43a4cf93bd6211e36117441165fdfb71e75 /ecc.c
parent5a85c4b91b8f602f325fbdea2adc697c50c1630f (diff)
Fix some warnings
Diffstat (limited to 'ecc.c')
-rw-r--r--ecc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecc.c b/ecc.c
index 4bfe51a..c733c9e 100644
--- a/ecc.c
+++ b/ecc.c
@@ -75,8 +75,8 @@ struct dropbear_ecc_curve* curve_for_dp(const ltc_ecc_set_type *dp) {
ecc_key * new_ecc_key(void) {
ecc_key *key = m_malloc(sizeof(*key));
- m_mp_alloc_init_multi(&key->pubkey.x, &key->pubkey.y,
- &key->pubkey.z, &key->k, NULL);
+ m_mp_alloc_init_multi((mp_int**)&key->pubkey.x, (mp_int**)&key->pubkey.y,
+ (mp_int**)&key->pubkey.z, (mp_int**)&key->k, NULL);
return key;
}