We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb9ef72 commit 4f0ecf2Copy full SHA for 4f0ecf2
src/module_loader.rs
@@ -89,6 +89,6 @@ pub unsafe extern "C" fn js_module_normalize(
89
fn throw_internal_error(ctx: *mut q::JSContext, err: &str) {
90
let err = CString::new(err).unwrap();
91
unsafe {
92
- q::JS_ThrowInternalError(ctx, err.as_ptr() as *const i8);
+ q::JS_ThrowInternalError(ctx, err.as_ptr() as *const c_char);
93
}
94
0 commit comments