shithub: libtags

Download patch

ref: 03c517ec41660f0eddd0385b858a745230b22736
parent: 2450cb76aeeacc86063f746590ffac1f107ef85e
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Feb 19 13:40:37 EST 2024

wav: fix a warning

--- a/wav.c
+++ b/wav.c
@@ -68,7 +68,7 @@
 		}else if(memcmp(d, "LIST", 4) == 0){
 			sz = csz - 4;
 			continue;
-		}else if(info && csz < ctx->bufsz){
+		}else if(info && csz < (u32int)ctx->bufsz){
 			for(n = 0; n < nelem(t); n++){
 				if(memcmp(d, t[n].s, 4) == 0 || t[n].type == Tunknown){
 					if(ctx->read(ctx, d+5, csz) != (int)csz)