Skip to content

Commit

Permalink
output_thread: add 0xdeadbeef cast to avoid compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfala authored and edsiper committed Mar 1, 2022
1 parent 5c17bcb commit 2ebb457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_output_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ int flb_output_thread_pool_coros_size(struct flb_output_instance *ins)
void flb_output_thread_pool_destroy(struct flb_output_instance *ins)
{
int n;
struct flb_task *stop = 0xdeadbeef;
struct flb_task *stop = (struct flb_task *) 0xdeadbeef;
struct flb_tp *tp = ins->tp;
struct mk_list *head;
struct flb_out_thread_instance *th_ins;
Expand Down

0 comments on commit 2ebb457

Please sign in to comment.