From b92d511558ddd1aceada5cf6900b4fbd3870d23c Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Wed, 27 Sep 2023 16:12:04 -0400 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 096ab7849b..eb02e6ea37 100644 --- a/src/ripple/rpc/impl/RPCHelpers.h +++ b/src/ripple/rpc/impl/RPCHelpers.h @@ -296,7 +296,7 @@ std::pair keypairForSignature( Json::Value const& params, Json::Value& error, - uint apiVersion = apiVersionIfUnspecified); + unsigned int apiVersion = apiVersionIfUnspecified); /** Helper to parse submit_mode parameter to RPC submit. * * @param params RPC parameters