summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/cstack.h')
-rw-r--r--include/stc/cstack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cstack.h b/include/stc/cstack.h
index a524b71c..e1839d37 100644
--- a/include/stc/cstack.h
+++ b/include/stc/cstack.h
@@ -178,9 +178,9 @@ STC_INLINE _cx_iter _cx_memb(_end)(const _cx_self* self)
{ return c_make(_cx_iter){NULL, (_cx_value*)self->data + self->size}; }
STC_INLINE void _cx_memb(_next)(_cx_iter* it)
- { if (++it->ref == it->_end) it->ref = NULL; }
+ { if (++it->ref == it->end) it->ref = NULL; }
STC_INLINE _cx_iter _cx_memb(_advance)(_cx_iter it, size_t n)
- { if ((it.ref += n) >= it._end) it.ref = NULL ; return it; }
+ { if ((it.ref += n) >= it.end) it.ref = NULL ; return it; }
#include "template.h"