From b88c0585fedfb24e8cee1b763b55dddbdd50e953 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 22 Jul 2018 17:31:57 +0430 Subject: update --- test/autowasm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/autowasm.c b/test/autowasm.c index 5151898..84cdf9d 100644 --- a/test/autowasm.c +++ b/test/autowasm.c @@ -5,6 +5,8 @@ #include #include +#include "./read.c" + uint64_t read_leb128_u(int _fd, int max_size) { uint8_t read_bytes = 0U; uint8_t byte = 0; @@ -64,7 +66,7 @@ int main (int argc, char** argv) { printf("read u res is: %lu.\n", test_u); lseek(wasm, 0, SEEK_SET); while(read(wasm, &word, sizeof(uint32_t))) { - //printf("%d:%02x\t", counter, word); + printf("%d:%02x\t", counter, word); counter++; } printf("\n"); -- cgit v1.2.3