diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:08:33 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:08:33 +0800 |
commit | c5e36f8e3cd390b77ce43f58f01b3d3a9111d989 (patch) | |
tree | 0924f43a4cf93bd6211e36117441165fdfb71e75 /ecc.c | |
parent | 5a85c4b91b8f602f325fbdea2adc697c50c1630f (diff) |
Fix some warnings
Diffstat (limited to 'ecc.c')
-rw-r--r-- | ecc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |