diff options
Diffstat (limited to 'toxcore/friend_connection.c')
-rw-r--r-- | toxcore/friend_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c index 1838c62d..7be4251a 100644 --- a/toxcore/friend_connection.c +++ b/toxcore/friend_connection.c | |||
@@ -419,7 +419,7 @@ int get_friendcon_public_keys(uint8_t *real_pk, uint8_t *dht_temp_pk, Friend_Con | |||
419 | 419 | ||
420 | /* Set temp dht key for connection. | 420 | /* Set temp dht key for connection. |
421 | */ | 421 | */ |
422 | void set_dht_temp_pk(Friend_Connections *fr_c, int friendcon_id, uint8_t *dht_temp_pk) | 422 | void set_dht_temp_pk(Friend_Connections *fr_c, int friendcon_id, const uint8_t *dht_temp_pk) |
423 | { | 423 | { |
424 | dht_pk_callback(fr_c, friendcon_id, dht_temp_pk); | 424 | dht_pk_callback(fr_c, friendcon_id, dht_temp_pk); |
425 | } | 425 | } |