diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-08-30 12:19:00 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-08-30 12:19:00 -0700 |
commit | f447370f803192fa3a621fa4cc23108546c1c4db (patch) | |
tree | 0955e9c00de4df1963ba05d6302bd27ab27766a2 /upb/table.int.h | |
parent | a25c50361a0ca55962e7f2f979a0fca515dc7f06 (diff) |
Fixed build and added Travis CI support.
Diffstat (limited to 'upb/table.int.h')
-rw-r--r-- | upb/table.int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/table.int.h b/upb/table.int.h index 770febf..5e023c9 100644 --- a/upb/table.int.h +++ b/upb/table.int.h @@ -301,7 +301,7 @@ UPB_INLINE bool upb_inttable_lookup32(const upb_inttable *t, uint32_t key, } } else { const upb_tabent *e; - if (t->t.entries == NULL) return NULL; + if (t->t.entries == NULL) return false; for (e = upb_inthash(&t->t, upb_intkey(key)); true; e = e->next) { if ((uint32_t)e->key.num == key) { _upb_value_setval(v, e->val, t->t.ctype); |