On 2019-12-30 02:29, Jack Wang wrote: > +#define GET_PERMIT(clt, idx) ((clt)->permits + PERMIT_SIZE(clt) * idx) Please surround 'idx' with parentheses. Thanks, Bart.
On 2019-12-30 02:29, Jack Wang wrote: > +#define GET_PERMIT(clt, idx) ((clt)->permits + PERMIT_SIZE(clt) * idx) Please surround 'idx' with parentheses. Thanks, Bart.