diff options
Diffstat (limited to 'src/varint.c')
-rw-r--r-- | src/varint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/varint.c b/src/varint.c index da7e480..cd766b4 100644 --- a/src/varint.c +++ b/src/varint.c @@ -1,4 +1,5 @@ #include <stdint.h> +#include "varint.h" void encode_varint(uint8_t *data, uint32_t *write, int64_t value, uint32_t left) @@ -6,6 +7,7 @@ encode_varint(uint8_t *data, uint32_t *write, int64_t value, uint32_t left) uint32_t pos = 0; if (value < 0) { + /* FIXME */ *write = 0; return; } |