From 1cdbf276438471bccddcfadd2d4b3cd575eada34 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Thu, 19 Feb 2026 16:53:34 +0900 Subject: [PATCH] fix(build): `uint` is not defined on Windows platform (#4731) Fix the Windows build by using `unsigned int` (instead of `uint`). The error, introduced by #4618, looks something like: rpc\impl\RPCHelpers.h(299,5): error C2061: syntax error: identifier 'uint' (compiling source file app\ledger\Ledger.cpp) --- src/ripple/rpc/impl/RPCHelpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/rpc/impl/RPCHelpers.h b/src/ripple/rpc/impl/RPCHelpers.h index 3dece296b..ad3cc218d 100644 --- a/src/ripple/rpc/impl/RPCHelpers.h +++ b/src/ripple/rpc/impl/RPCHelpers.h @@ -313,7 +313,7 @@ std::pair keypairForSignature( Json::Value const& params, Json::Value& error, - uint apiVersion = apiVersionIfUnspecified); + unsigned int apiVersion = apiVersionIfUnspecified); } // namespace RPC } // namespace ripple