There was an error while loading. Please reload this page.
1 parent 262dc88 commit 6db2e75Copy full SHA for 6db2e75
lightgbm-sys/Cargo.toml
@@ -16,5 +16,5 @@ cuda = []
16
libc = "0.2.81"
17
18
[build-dependencies]
19
-bindgen = "0.56.0"
+bindgen = "0.68"
20
cmake = "0.1"
src/booster.rs
@@ -178,7 +178,7 @@ impl Booster {
178
self.handle,
179
feature_name_length as i32,
180
&mut num_feature_names,
181
- num_feature as u64,
+ num_feature as usize,
182
&mut out_buffer_len,
183
out_strs.as_ptr() as *mut *mut c_char
184
))?;
0 commit comments