mirror of
https://github.com/encounter/nod-rs.git
synced 2025-12-10 14:07:54 +00:00
nightly clippy fixes
This commit is contained in:
@@ -91,7 +91,7 @@ fn main() {
|
||||
for (entry, name) in &mut entries {
|
||||
entry.string_table_offset = string_table_offset;
|
||||
out.write_all(entry.as_bytes()).unwrap();
|
||||
string_table_offset += name.as_bytes().len() as u32 + 4;
|
||||
string_table_offset += name.len() as u32 + 4;
|
||||
}
|
||||
|
||||
// Write string table
|
||||
|
||||
Reference in New Issue
Block a user