summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4a6e05b..c67c351 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,4 +26,4 @@ binary-search = "0.1.2"
# Dev
# binaryninja = { git = "https://github.com/Vector35/binaryninja-api", branch = "dev" }
# Stable
-binaryninja = { git = "https://github.com/Vector35/binaryninja-api", tag = "v5.0.7486-stable" }
+binaryninja = { git = "https://github.com/Vector35/binaryninja-api", tag = "stable/5.1.8005" }
diff --git a/src/lib.rs b/src/lib.rs
index 5a56c1a..0560033 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -824,7 +824,7 @@ fn register_settings() {
"#
);
- settings.register_setting_json(name, properties);
+ settings.register_setting_json(name, &properties);
}
fn register_enum_setting<T>(settings: &Settings, name: &str, title: &str, description: &str)
@@ -853,7 +853,7 @@ fn register_settings() {
serde_json::to_string(&enum_descriptions).unwrap()
);
- settings.register_setting_json(name, properties);
+ settings.register_setting_json(name, &properties);
}
let settings = Settings::new();