Skip to content

Commit

Permalink
Fix the incompatible conversion warning/error
Browse files Browse the repository at this point in the history
  • Loading branch information
lsk567 committed Jul 3, 2024
1 parent b230663 commit 44313a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/api/reaction_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
do { \
out->value = val; \
lf_set_present(out); \
out->token = val; /* The long-term solution is to generate an event type for each connection buffer of primitive type. */ \
out->token = (lf_token_t *)(uintptr_t)val; /* The long-term solution is to generate an event type for each connection buffer of primitive type. */ \
} while(0)
#else
#define lf_set(out, val) \
Expand Down

0 comments on commit 44313a2

Please sign in to comment.