mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections.
This commit is contained in:
parent
5ba88cab51
commit
38fe8b69a0
46 changed files with 957 additions and 678 deletions
|
@ -401,7 +401,7 @@ static int gpt_validate_header(cli_ctx *ctx, struct gpt_header hdr, size_t secto
|
|||
hdr.tableStartLBA = le64_to_host(hdr.tableStartLBA);
|
||||
hdr.tableNumEntries = le32_to_host(hdr.tableNumEntries);
|
||||
hdr.tableEntrySize = le32_to_host(hdr.tableEntrySize);
|
||||
hdr.tableCRC32 = le32_to_host(hdr.tableCRC32);;
|
||||
hdr.tableCRC32 = le32_to_host(hdr.tableCRC32);
|
||||
|
||||
ptable_start = hdr.tableStartLBA * sectorsize;
|
||||
ptable_len = hdr.tableNumEntries * hdr.tableEntrySize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue