aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index a9bd91e..36eb930 100644
--- a/main.c
+++ b/main.c
@@ -294,13 +294,13 @@ assembleconstant(int64_t c, int nbytes)
}
}
-/* The VarBytes type encodes a variadic number of bytes.
+/* The VarBytes type encodes a variable number of bytes.
The top byte is how many bytes we encode less 1.
examples:
<nothing> encodes as -1
0c encodes as 0x0000000c
- 02 03 encodes as 0x01000203
+ 02 03 encodes as 0x01000203
*/
typedef int32_t VarBytes;