Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #109 from KFilipek/add-casting
Browse files Browse the repository at this point in the history
Avoid casting error on C++ compilation
  • Loading branch information
pbalcer authored Aug 17, 2022
2 parents f3b8092 + 7fa75e0 commit b1efa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/libminiasync/future.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ future_has_property_default(void *future, enum future_property property)
static inline int
future_chain_has_property(void *future, enum future_property property)
{
struct future *fut = future;
struct future *fut = (struct future *)future;
struct future_context *ctx = &fut->context;
uint8_t *data = (uint8_t *)future_context_get_data(ctx);
struct future_chain_entry *entry = (struct future_chain_entry *)(data);
Expand Down

0 comments on commit b1efa1c

Please sign in to comment.