diff options
Diffstat (limited to 'src/dv/dv_api.c')
-rw-r--r-- | src/dv/dv_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dv/dv_api.c b/src/dv/dv_api.c index 93891ca17..131503e6e 100644 --- a/src/dv/dv_api.c +++ b/src/dv/dv_api.c | |||
@@ -154,9 +154,9 @@ struct SendCallbackContext | |||
154 | * @param hash set to uid (extended with zeros) | 154 | * @param hash set to uid (extended with zeros) |
155 | */ | 155 | */ |
156 | static void | 156 | static void |
157 | hash_from_uid (uint32_t uid, GNUNET_HashCode * hash) | 157 | hash_from_uid (uint32_t uid, struct GNUNET_HashCode * hash) |
158 | { | 158 | { |
159 | memset (hash, 0, sizeof (GNUNET_HashCode)); | 159 | memset (hash, 0, sizeof (struct GNUNET_HashCode)); |
160 | *((uint32_t *) hash) = uid; | 160 | *((uint32_t *) hash) = uid; |
161 | } | 161 | } |
162 | 162 | ||
@@ -351,7 +351,7 @@ handle_message_receipt (void *cls, const struct GNUNET_MessageHeader *msg) | |||
351 | char *sender_address; | 351 | char *sender_address; |
352 | char *packed_msg; | 352 | char *packed_msg; |
353 | char *packed_msg_start; | 353 | char *packed_msg_start; |
354 | GNUNET_HashCode uidhash; | 354 | struct GNUNET_HashCode uidhash; |
355 | struct SendCallbackContext *send_ctx; | 355 | struct SendCallbackContext *send_ctx; |
356 | 356 | ||
357 | if (msg == NULL) | 357 | if (msg == NULL) |
@@ -459,7 +459,7 @@ GNUNET_DV_send (struct GNUNET_DV_Handle *dv_handle, | |||
459 | struct GNUNET_DV_SendMessage *msg; | 459 | struct GNUNET_DV_SendMessage *msg; |
460 | struct SendCallbackContext *send_ctx; | 460 | struct SendCallbackContext *send_ctx; |
461 | char *end_of_message; | 461 | char *end_of_message; |
462 | GNUNET_HashCode uidhash; | 462 | struct GNUNET_HashCode uidhash; |
463 | int msize; | 463 | int msize; |
464 | 464 | ||
465 | #if DEBUG_DV_MESSAGES | 465 | #if DEBUG_DV_MESSAGES |