summaryrefslogtreecommitdiff
path: root/src/upb_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_table.c')
-rw-r--r--src/upb_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_table.c b/src/upb_table.c
index 584bbd6..063b0b6 100644
--- a/src/upb_table.c
+++ b/src/upb_table.c
@@ -82,7 +82,7 @@ static uint32_t empty_intbucket(struct upb_inttable *table)
* parameterize them. */
static void intinsert(struct upb_inttable *t, struct upb_inttable_entry *e)
{
- assert(upb_inttable_lookup(t, e->key, t->t.entry_size) == NULL);
+ assert(upb_inttable_lookup(t, e->key) == NULL);
t->t.count++;
uint32_t bucket = upb_inttable_bucket(t, e->key);
struct upb_inttable_entry *table_e = intent(t, bucket);
@@ -115,7 +115,7 @@ static void intinsert(struct upb_inttable *t, struct upb_inttable_entry *e)
}
memcpy(table_e, e, t->t.entry_size);
table_e->next = UPB_END_OF_CHAIN;
- assert(upb_inttable_lookup(t, e->key, t->t.entry_size) == table_e);
+ assert(upb_inttable_lookup(t, e->key) == table_e);
}
void upb_inttable_insert(struct upb_inttable *t, struct upb_inttable_entry *e)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback