mirror of
https://github.com/dnlbauer/xdrfile.git
synced 2026-09-11 14:45:31 +00:00
Removed trivial casts and changed frame.step to usize
This commit is contained in:
@@ -60,7 +60,7 @@ mod tests {
|
||||
let mut nframes: u64 = 0;
|
||||
|
||||
unsafe {
|
||||
let code = read_xtc_nframes(path.as_ptr() as *const i8, &mut nframes);
|
||||
let code = read_xtc_nframes(path.as_ptr(), &mut nframes);
|
||||
assert!(code as u32 == exdrOK);
|
||||
}
|
||||
assert!(nframes == 38, "{:?}", nframes);
|
||||
|
||||
Reference in New Issue
Block a user