diff options
Diffstat (limited to 'tests/test_def.c')
-rw-r--r-- | tests/test_def.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_def.c b/tests/test_def.c index 1f014f6..3ca3064 100644 --- a/tests/test_def.c +++ b/tests/test_def.c @@ -8,7 +8,7 @@ int main() { // Will be empty atm since we haven't added anything to the symtab. int count; - upb_def **defs = upb_symtab_getdefs(s, &count, UPB_DEF_ANY); + const upb_def **defs = upb_symtab_getdefs(s, &count, UPB_DEF_ANY); for (int i = 0; i < count; i++) { upb_def_unref(defs[i]); } |