diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-09-20 20:32:25 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-09-20 20:32:25 -0700 |
commit | c0a08a6827a294f74b0ee5feaf5542081cff4381 (patch) | |
tree | a54e053d050f648d52369fcf2932fdc7a872703f /upb/bytestream.c | |
parent | 56f7a345d7572e118d4a370bb8e79b328d16bc0e (diff) |
Fixes to get upb to compile inside Google.
Diffstat (limited to 'upb/bytestream.c')
-rw-r--r-- | upb/bytestream.c | 2 |
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. |