summaryrefslogtreecommitdiff
path: root/upb/bytestream.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-12-22 12:15:45 -0800
committerJoshua Haberman <jhaberman@gmail.com>2011-12-22 12:15:45 -0800
commit1b9b6bd1ad2d862a7df86096e96991135f0fb92c (patch)
treeb1023a383c22b4ce52e33d114da8cbe1bffcbd79 /upb/bytestream.h
parent1bcab1377de6afe8c0f9c895cdba04baacf3e4a5 (diff)
Fixed the open-source build.
Diffstat (limited to 'upb/bytestream.h')
-rw-r--r--upb/bytestream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/upb/bytestream.h b/upb/bytestream.h
index 409ae80..fe049d2 100644
--- a/upb/bytestream.h
+++ b/upb/bytestream.h
@@ -372,7 +372,8 @@ INLINE int upb_bytesink_putc(upb_bytesink *sink, char ch) {
}
INLINE int upb_bytesink_putrepeated(upb_bytesink *sink, char ch, int len) {
- for (int i = 0; i < len; i++)
+ int i;
+ for (i = 0; i < len; i++)
if (upb_bytesink_write(sink, &ch, 1) < 0)
return -1;
return len;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback