Skip to content

Commit

Permalink
fix(build): uint is not defined on Windows platform (XRPLF#4731)
Browse files Browse the repository at this point in the history
Fix the Windows build by using `unsigned int` (instead of `uint`).

The error, introduced by XRPLF#4618, looks something like:
  rpc\impl\RPCHelpers.h(299,5): error C2061: syntax error: identifier
  'uint' (compiling source file app\ledger\Ledger.cpp)
  • Loading branch information
ximinez authored Sep 27, 2023
1 parent 548c91e commit b92d511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/rpc/impl/RPCHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ std::pair<PublicKey, SecretKey>
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
Expand Down

0 comments on commit b92d511

Please sign in to comment.