Skip to content

Commit 8c9f752

Browse files
fixed a typo
1 parent 4f0be76 commit 8c9f752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bptree/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ typedef struct aux_s {
1111

1212
static inline int aux_cmp(const void *a, const void *b, const void *udata)
1313
{
14-
const aux_t *p = (const aux_t*)a, *q = (const aux_t*)q;
14+
const aux_t *p = (const aux_t*)a, *q = (const aux_t*)b;
1515
return ((p->key > q->key) - (p->key < q->key));
1616
}
1717

0 commit comments

Comments
 (0)