Skip to content

Commit

Permalink
this is also failing on github clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed May 2, 2024
1 parent f2df8aa commit a3b97ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod bindgen {
}

use std::cmp::max;
use std::ffi::{c_int, c_uint, CString};
use std::ffi::{c_char, c_int, c_uint, CString};
use std::mem::size_of_val;
use std::mem::{size_of, MaybeUninit};

Expand Down Expand Up @@ -3291,7 +3291,7 @@ fn updatetitle(c: *mut bindgen::Client) {
/* hack to mark broken clients */
libc::strcpy(
&mut (*c).name as *mut _,
bindgen::broken.as_ptr() as *const i8,
bindgen::broken.as_ptr() as *const c_char,
);
}
}
Expand Down

0 comments on commit a3b97ce

Please sign in to comment.