diff options
author | Martin Maly <mmaly@google.com> | 2015-05-06 13:18:33 -0700 |
---|---|---|
committer | Martin Maly <mmaly@google.com> | 2015-05-06 16:50:30 -0700 |
commit | 508c39ee133d6725a4440ba98a1555e2026975c2 (patch) | |
tree | da5a49a715a9af60fd6630e3462ad0b1bf8781c0 /upb/table.c | |
parent | 535bc2fe2f2b467f59347ffc9449e11e47791257 (diff) |
Resolve compilation errors if compiled with more stringent semantic checks.
Adding Travis test to build with strict warnings.
Fixing a warning in a test which used signed/unsigned integer comparison.
Diffstat (limited to 'upb/table.c')
-rw-r--r-- | upb/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/table.c b/upb/table.c index fc69125..9914a03 100644 --- a/upb/table.c +++ b/upb/table.c @@ -542,7 +542,7 @@ void upb_inttable_compact(upb_inttable *t) { counts[log2ceil(key)]++; } - int arr_size; + size_t arr_size = 1; int arr_count = upb_inttable_count(t); if (upb_inttable_count(t) >= max_key * MIN_DENSITY) { |