shithub: libtags

Download patch

ref: 50089a7bc01d931a547816ecdbb0d37e4f7091c4
parent: 3ab23ef29a9baa59e22a774a9d0c9c166b081a55
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Apr 30 08:45:11 EDT 2021

gcc so fragile...

--- a/wav.c
+++ b/wav.c
@@ -69,7 +69,7 @@
 			csz++;
 			for(n = 0; n < nelem(t); n++){
 				if(memcmp(d, t[n].s, 4) == 0){
-					if(ctx->read(ctx, d, csz) != csz)
+					if((uint)ctx->read(ctx, d, csz) != csz)
 						return -1;
 					d[csz-1] = 0;
 					txtcb(ctx, t[n].type, "", d);