Skip to content

Commit

Permalink
Fixed compilation warning for newer bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 committed Nov 21, 2023
1 parent 0349002 commit 4528623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qpdf-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ fn build_bindings() {
let bindings = bindgen::builder()
.clang_arg(format!("-I{}", path.display()))
.header(format!("{}/qpdf/qpdf-c.h", path.display()))
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate()
.unwrap();

Expand Down

0 comments on commit 4528623

Please sign in to comment.