From 57ca864fbb43ba61b9e80448e2508ee9dd0b799f Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 12 Jun 2024 21:08:41 -0400 Subject: [PATCH] Build fix. --- src/ssb.js.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssb.js.c b/src/ssb.js.c index 3b9b62fb..8aa42bd0 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -190,7 +190,7 @@ static JSValue _tf_ssb_addIdentity(JSContext* context, JSValueConst this_val, in } else { - result = JS_ThrowInternalError(context, "Unexpected private key size: %zd vs. %d\n", length, crypto_sign_SECRETKEYBYTES); + result = JS_ThrowInternalError(context, "Unexpected private key size: %d vs. %d\n", (int)length, crypto_sign_SECRETKEYBYTES); } } else