diff options
Diffstat (limited to 'rust/src/platform.rs')
| -rw-r--r-- | rust/src/platform.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/platform.rs b/rust/src/platform.rs index 6d2b30f0..65138c19 100644 --- a/rust/src/platform.rs +++ b/rust/src/platform.rs @@ -386,7 +386,7 @@ impl Platform { assert!(!error_string.is_null()); Err(TypeParserError::new( TypeParserErrorSeverity::FatalSeverity, - unsafe { BnString::from_raw(error_string) }.to_string(), + unsafe { BnString::into_string(error_string) }, filename.to_string(), 0, 0, |
