Skip to content

Commit

Permalink
fix: __sigval_t causes compile error
Browse files Browse the repository at this point in the history
Signed-off-by: Super-long <[email protected]>
  • Loading branch information
Super-long committed Oct 25, 2022
1 parent 201cd37 commit 1fff91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/dns_resolve.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct NotifyStruct {
fibers_ext::EventCount evc;
};

static void DnsResolveNotify(__sigval_t val) {
static void DnsResolveNotify(union sigval val) {
NotifyStruct* ns = (NotifyStruct*)val.sival_ptr;
ns->gate.store(true, memory_order_relaxed);
ns->evc.notify();
Expand Down

0 comments on commit 1fff91a

Please sign in to comment.