From c0a08a6827a294f74b0ee5feaf5542081cff4381 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 20 Sep 2011 20:32:25 -0700 Subject: Fixes to get upb to compile inside Google. --- upb/bytestream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/bytestream.c') 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. -- cgit v1.2.3