shithub: sl

Download patch

ref: ce2bd9c0913fdc7127a52bcb91ffb9d9d03c6c5c
parent: 75fa6d220de69bdb91954ea8cf942611b25214cb
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Feb 24 13:54:45 EST 2025

fix a warning

--- a/src/flisp.c
+++ b/src/flisp.c
@@ -806,7 +806,7 @@
 		memmove(bp+ntot, bp+i, nrestargs*sizeof(value_t));
 	memmove(bp+nreq, args, extr*sizeof(value_t));
 	FL(sp) = bp + nargs;
-	assert(FL(sp)-FL(stack) < FL(nstack)-4);
+	assert((intptr_t)(FL(sp)-FL(stack)) < (intptr_t)FL(nstack)-4);
 	PUSH(s4);
 	PUSH(s3);
 	PUSH(nargs);