summaryrefslogtreecommitdiff
path: root/upb/bytestream.c
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-09-20 20:32:25 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-09-20 20:32:25 -0700
commitc0a08a6827a294f74b0ee5feaf5542081cff4381 (patch)
treea54e053d050f648d52369fcf2932fdc7a872703f /upb/bytestream.c
parent56f7a345d7572e118d4a370bb8e79b328d16bc0e (diff)
Fixes to get upb to compile inside Google.
Diffstat (limited to 'upb/bytestream.c')
-rw-r--r--upb/bytestream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/bytestream.c b/upb/bytestream.c
index 86095f9..41a84b0 100644
--- a/upb/bytestream.c
+++ b/upb/bytestream.c
@@ -63,7 +63,7 @@ static upb_stdio_buf *upb_stdio_findbuf(const upb_stdio *s, uint64_t ofs) {
}
static upb_stdio_buf *upb_stdio_rotatebufs(upb_stdio *s) {
- upb_stdio_buf *reuse[s->nbuf];
+ upb_stdio_buf **reuse = NULL; // XXX
uint32_t num_reused = 0, num_inuse = 0;
// Could sweep only a subset of bufs if this was a hotspot.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback