summaryrefslogtreecommitdiff
path: root/cli/napi/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/napi/env.rs')
-rw-r--r--cli/napi/env.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/napi/env.rs b/cli/napi/env.rs
index 24dc8af81..df9af522f 100644
--- a/cli/napi/env.rs
+++ b/cli/napi/env.rs
@@ -1,6 +1,7 @@
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_runtime::deno_napi::*;
+use std::os::raw::c_char;
/// # Safety
///
@@ -125,7 +126,7 @@ const NODE_VERSION: napi_node_version = napi_node_version {
major: 17,
minor: 4,
patch: 0,
- release: "Deno\0".as_ptr() as *const i8,
+ release: "Deno\0".as_ptr() as *const c_char,
};
#[napi_sym::napi_sym]