7 ms·
Your test is backwards. I would write it like this: if (size > a->limit - a->cursor) return NULL;
by dn3500 2mo ago
Your test is backwards. I would write it like this:
if (size > a->limit - a->cursor) return NULL;
- CodesInChaos 2mo agoYou're right. Fixed.