Skip to content

Commit

Permalink
fix compilation error on android
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Feb 10, 2024
1 parent f64198c commit 496a70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl FilterBuilder {
}

fn start_tags_field(&mut self, tag: char) {
unsafe { bindings::ndb_filter_start_tag_field(self.as_mut_ptr(), tag as i8) };
unsafe { bindings::ndb_filter_start_tag_field(self.as_mut_ptr(), tag as u8 as c_char) };
}

fn start_kinds_field(&mut self) {
Expand Down

0 comments on commit 496a70b

Please sign in to comment.