# HG changeset patch
# User Jean-Francois Pieronne <jf.pieronne@laposte.net>
# Date 1600416931 -34200
#      Fri Sep 18 17:45:31 2020 +0930
# Branch OpenVMS
# Node ID 5f51c5df7f7fa8f02591927e7adebad5e2ed52ec
# Parent  a64148ad7a67c78c3544bc62f3dcd71def9b5569
bstest.c fix compilation warnings

diff --git a/bstest.c b/bstest.c
--- a/bstest.c
+++ b/bstest.c
@@ -178,7 +178,7 @@
 					printf ("[%d] i = %d, j = %d, l = %d, k = %d, b->slen = %d\n", __LINE__, i, j, l, k, b->slen);
 					ret++;
 				} else if (0 != memcmp (t, b->data, l-k+1)) {
-					printf ("[%d] \"%s\" != \"%s\"\n", b->data, t);
+					printf ("[%d] \"%s\" != \"%s\"\n", ret, b->data, t);
 					ret++;
 				}
 				bdestroy (b);
@@ -632,7 +632,8 @@
 int rv, ret = 0;
 
 	ret += (res != (rv = biseqblk (b, blk, len)));
-	printf (".\tbiseqblk (%s, %s) = %d\n", dumpBstring (b), dumpCstring (blk), rv);
+	printf (".\tbiseqblk (%s, %s) = %d\n", dumpBstring (b),
+                dumpCstring ((const char *)blk), rv);
 	if (ret) {
 		printf ("\t\tfailure(%d) = %d (res = %d)\n", __LINE__, ret, res);
 	}
@@ -3053,7 +3054,8 @@
 int rv, ret = 0;
 
 	ret += (res != (rv = biseqcaselessblk (b, blk, len)));
-	printf (".\tbiseqcaselessblk (%s, %s, %d) = %d\n", dumpBstring (b), dumpCstring (blk), len, rv);
+	printf (".\tbiseqcaselessblk (%s, %s, %d) = %d\n", dumpBstring (b),
+                dumpCstring ((const char *)blk), len, rv);
 	if (ret) {
 		printf ("\t\tfailure(%d) = %d (res = %d)\n", __LINE__, ret, res);
 	}