Unified · Split
| @@ -15,6 +15,8 @@ typedef uint8_t uchar; · 14 unmodified lines | |||
| 15 | typedef uint16_t u16int; | 15 | typedef uint16_t u16int; |
| 16 | typedef uint32_t u32int; | 16 | typedef uint32_t u32int; |
| 17 | typedef uint64_t uvlong; | 17 | typedef uint64_t uvlong; |
| 18 | typedef unsigned int uint; | ||
| 19 | typedef unsigned short ushort; | ||
| 18 | #else | 20 | #else |
| 19 | #include <u.h> | 21 | #include <u.h> |
| 20 | #include <libc.h> | 22 | #include <libc.h> |
| @@ -18,9 +18,7 @@ int · 17 unmodified lines | |||
| 18 | tagwav(Tagctx *ctx) | 18 | tagwav(Tagctx *ctx) |
| 19 | { | 19 | { |
| 20 | uchar *d; | 20 | uchar *d; |
| 21 | int i, n, info; | 21 | int i, n, info, csz, sz; |
| 22 | u32int csz; | ||
| 23 | uvlong sz; | ||
| 24 | 22 | ||
| 25 | d = (uchar*)ctx->buf; | 23 | d = (uchar*)ctx->buf; |
| 26 | 24 | ||