summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree/btree.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/btree/btree.h')
-rw-r--r--lib/libc/db/btree/btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/db/btree/btree.h b/lib/libc/db/btree/btree.h
index 7d16462..a1766dc 100644
--- a/lib/libc/db/btree/btree.h
+++ b/lib/libc/db/btree/btree.h
@@ -309,8 +309,8 @@ typedef struct _btree {
CURSOR bt_cursor; /* cursor */
#define BT_PUSH(t, p, i) { \
- t->bt_sp->pgno = p; \
- t->bt_sp->index = i; \
+ t->bt_sp->pgno = p; \
+ t->bt_sp->index = i; \
++t->bt_sp; \
}
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
OpenPOWER on IntegriCloud