summaryrefslogtreecommitdiff
path: root/src/upb_stream.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-17 11:37:25 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-17 11:37:25 -0800
commitf9a6f67e275dd6d379ae9428e1c40f43d8d17386 (patch)
tree143b444dd9b5c9f32771b0e910243aa5da3fc902 /src/upb_stream.h
parent5edfe9a4c9badf0095f65c88611b107ee28dc9ad (diff)
Track buffer end instead of buffer length, for a small perf improvement.
Diffstat (limited to 'src/upb_stream.h')
-rw-r--r--src/upb_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_stream.h b/src/upb_stream.h
index fe66c63..229cf86 100644
--- a/src/upb_stream.h
+++ b/src/upb_stream.h
@@ -60,7 +60,7 @@ struct _upb_fielddef;
// continue or not.
typedef enum {
// Caller should continue sending values to the sink.
- UPB_CONTINUE,
+ UPB_CONTINUE = 0,
// Stop processing for now; check status for details. If no status was set,
// a generic error will be returned. If the error is resumable, it is not
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback