diff --git a/jpegxl-sys/src/encode.rs b/jpegxl-sys/src/encode.rs
index c6529f2..196206c 100644
--- a/jpegxl-sys/src/encode.rs
+++ b/jpegxl-sys/src/encode.rs
@@ -1,19 +1,19 @@
/*
-This file is part of jpegxl-sys.
-
-jpegxl-sys is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-jpegxl-sys is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with jpegxl-sys. If not, see .
-*/
+ * This file is part of jpegxl-rs.
+ *
+ * jpegxl-rs is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * jpegxl-rs is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with jpegxl-rs. If not, see .
+ */
use std::ffi::{c_char, c_void};
@@ -242,7 +242,7 @@ extern "C" {
pub fn JxlEncoderAddBox(
enc: *mut JxlEncoder,
- box_type: &mut JxlBoxType,
+ box_type: *const JxlBoxType,
contents: *const u8,
size: usize,
compress_box: JxlBool,