X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Flfstack.h;h=b49eb205a45ab3e5f409fc2ee9c490aa04e73e0e;hb=0fba1252d0fb2eae2054faad7b657cb296780421;hp=0be959436e7d4577c4e6e7673dad6b49fae74469;hpb=cd4075b4c9515a927ab066f5d4895eb2a8f27257;p=urcu.git diff --git a/urcu/static/lfstack.h b/urcu/static/lfstack.h index 0be9594..b49eb20 100644 --- a/urcu/static/lfstack.h +++ b/urcu/static/lfstack.h @@ -148,7 +148,7 @@ bool _cds_lfs_push(struct cds_lfs_stack *s, if (old_head == head) break; } - return ___cds_lfs_empty_head(head); + return !___cds_lfs_empty_head(head); } /*