From c58feb0429f7683710408edfef8e2b0b54887216 Mon Sep 17 00:00:00 2001 From: Anton Lavrik Date: Wed, 22 Feb 2017 22:51:24 -0800 Subject: [PATCH] spelling fixes (alavrik/piqi#56) --- piqirun/piqirun.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piqirun/piqirun.ml b/piqirun/piqirun.ml index 99a31d3..16791ee 100644 --- a/piqirun/piqirun.ml +++ b/piqirun/piqirun.ml @@ -310,7 +310,7 @@ let try_parse_varint buf = (* TODO, XXX: check signed overflow *) -(* TODO: optimize for little-endian achitecture *) +(* TODO: optimize for little-endian architecture *) let parse_fixed32 buf = try let res = ref 0l in @@ -798,7 +798,7 @@ let parse_default binobj = buf -(* XXX, NOTE: using default with requried or optional-default fields *) +(* XXX, NOTE: using default with required or optional-default fields *) let parse_required_field code parse_value ?default l = let res, rem = find_field code l in match res with