diff options
Diffstat (limited to 'src/peerstore/plugin_peerstore_flat.c')
-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)) |