summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/radix/README.md2
-rw-r--r--test/radix/terp.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/radix/README.md b/test/radix/README.md
index c38f986881..f79a4d4230 100644
--- a/test/radix/README.md
+++ b/test/radix/README.md
@@ -18,7 +18,7 @@ test vignettes for network protocol testing applications. While it is currently
used for QUIC, it has been designed to be agnostic so that it can be adapted to
other protocols in future if desired.
-In particular, unilke the older multistream test framework, it does not assume a
+In particular, unlike the older multistream test framework, it does not assume a
single client and a single server. Examples of vignettes designed to be
supported by the RADIX test framework in future include:
diff --git a/test/radix/terp.c b/test/radix/terp.c
index 151d133e4c..e0a0f33b1c 100644
--- a/test/radix/terp.c
+++ b/test/radix/terp.c
@@ -637,7 +637,7 @@ static ossl_inline int TERP_stk_pop(TERP *terp,
static void TERP_print_stack(TERP *terp, BIO *bio, const char *header)
{
test_output_memory(header, terp->stk_cur, terp->stk_end - terp->stk_cur);
- BIO_printf(bio, " (%zu bytes)\n", terp->stk_end - terp->stk_cur);
+ BIO_printf(bio, " (%zu bytes)\n", (size_t)(terp->stk_end - terp->stk_cur));
BIO_printf(bio, "\n");
}
@@ -859,7 +859,7 @@ static int TERP_run(SCRIPT_INFO *script_info, TERP_CONFIG *cfg)
if (terp.stk_end - terp.stk_cur != 0) {
TEST_error("stack not empty: %zu bytes left",
- terp.stk_end - terp.stk_cur);
+ (size_t)(terp.stk_end - terp.stk_cur));
goto err;
}