From f4bb4b69511ae4bd3852c5becc7abc93a4fb5b94 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 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