Skip to content

Commit d3ea639

Browse files
gengjiawendanbev
authored andcommitted
src: fix data type in node_crypto.cc
Signed-off-by: gengjiawen <[email protected]> PR-URL: #25889 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 12b3cfc commit d3ea639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_crypto.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6245,7 +6245,7 @@ void SetEngine(const FunctionCallbackInfo<Value>& args) {
62456245
ENGINE* engine = LoadEngineById(*engine_id, &errmsg);
62466246

62476247
if (engine == nullptr) {
6248-
int err = ERR_get_error();
6248+
unsigned long err = ERR_get_error(); // NOLINT(runtime/int)
62496249
if (err == 0)
62506250
return args.GetReturnValue().Set(false);
62516251
return ThrowCryptoError(env, err);

0 commit comments

Comments
 (0)