From 94672541fd9dc77636fb5fdb04b6ea87eedb6b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Thu, 3 Mar 2022 21:31:55 +0100 Subject: [PATCH] fix unix build --- tagspriv.h | 2 ++ wav.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tagspriv.h b/tagspriv.h index c2f7020..519db7d 100644 --- a/tagspriv.h +++ b/tagspriv.h @@ -15,6 +15,8 @@ typedef uint8_t uchar; typedef uint16_t u16int; typedef uint32_t u32int; typedef uint64_t uvlong; +typedef unsigned int uint; +typedef unsigned short ushort; #else #include #include diff --git a/wav.c b/wav.c index a016a12..64423e0 100644 --- a/wav.c +++ b/wav.c @@ -18,9 +18,7 @@ int tagwav(Tagctx *ctx) { uchar *d; - int i, n, info; - u32int csz; - uvlong sz; + int i, n, info, csz, sz; d = (uchar*)ctx->buf; -- 2.45.2