diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-02-15 21:16:37 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-02-15 21:16:37 +0100 |
commit | 2a461dcb1fd5875139654650cc4d6c525f2289b7 (patch) | |
tree | f5adee6a82ad926f6ad6998fcf99a536751b3e01 /src/peerstore | |
parent | f48595ede523757350ea8e4557dca37f72694d58 (diff) | |
download | gnunet-2a461dcb1fd5875139654650cc4d6c525f2289b7.tar.gz gnunet-2a461dcb1fd5875139654650cc4d6c525f2289b7.zip |
fix some compiler warnings
Diffstat (limited to 'src/peerstore')
-rw-r--r-- | src/peerstore/plugin_peerstore_flat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerstore/plugin_peerstore_flat.c b/src/peerstore/plugin_peerstore_flat.c index cd1837e1a..0cd2522ec 100644 --- a/src/peerstore/plugin_peerstore_flat.c +++ b/src/peerstore/plugin_peerstore_flat.c | |||
@@ -440,7 +440,7 @@ database_setup (struct Plugin *plugin) | |||
440 | o = NULL; | 440 | o = NULL; |
441 | s = GNUNET_STRINGS_base64_decode (peer, | 441 | s = GNUNET_STRINGS_base64_decode (peer, |
442 | strlen (peer), | 442 | strlen (peer), |
443 | &o); | 443 | (void**)&o); |
444 | if (sizeof (struct GNUNET_PeerIdentity) == s) | 444 | if (sizeof (struct GNUNET_PeerIdentity) == s) |
445 | GNUNET_memcpy (&entry->peer, | 445 | GNUNET_memcpy (&entry->peer, |
446 | o, | 446 | o, |
@@ -451,7 +451,7 @@ database_setup (struct Plugin *plugin) | |||
451 | } | 451 | } |
452 | entry->value_size = GNUNET_STRINGS_base64_decode (value, | 452 | entry->value_size = GNUNET_STRINGS_base64_decode (value, |
453 | strlen (value), | 453 | strlen (value), |
454 | (char**)&entry->value); | 454 | (void**)&entry->value); |
455 | if (GNUNET_SYSERR == | 455 | if (GNUNET_SYSERR == |
456 | GNUNET_STRINGS_fancy_time_to_absolute (expiry, | 456 | GNUNET_STRINGS_fancy_time_to_absolute (expiry, |
457 | &entry->expiry)) | 457 | &entry->expiry)) |