Fix warnings
Dependencies
- [2]
N3PUHKQNchange: fix scoping issue - [3]
HKBM7HZGminor: formatting - [4]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo" - [5]
YDQLW2ZOchange: rework printing of patches - print Edit and Newvertex types - [6]
OBKF6SIIchange: decompress the hashed section too - [7]
NZNIG2ULFix lots of warnings, adjust build flags - [8]
RIWSVVASchange: decompress the 'contents' with zstd_seekable - [9]
ZKAOPMCHchange: Implement decoding of edits, atoms, positions, among others - [10]
QYRJIOYPchange: separate decoding and printing of hashed struct - [11]
XTVLIC24change: refactor to print_change() - [12]
JAGXXSR7change: initial work on decoding hunks - [13]
FMYCPGKDchange: extract hash list decoding into reused function - [*]
Q7TKZCJPAdd initial support for reading the offsets from a (fixed) change
Change contents
- replacement in hunk.h at line 6
unsigned int line; /* Defined as usize, probably better as u64 */uint64_t line; /* Defined as usize, probably better as u64 */ - replacement in change.c at line 164
target->entries[i].variant = bincode_getu32(binstat);target->entries[i].variant = (uint8_t)bincode_getu32(binstat); - replacement in change.c at line 534
char x;uint8_t x; - replacement in change.c at line 616
printf(" in %s:%u (%s)", e->local.path, e->local.line,printf(" in %s:%lu (%s)", e->local.path, e->local.line, - replacement in change.c at line 626
printf(" in %s:%u (%s)", r->local.path, r->local.line,printf(" in %s:%lu (%s)", r->local.path, r->local.line, - replacement in change.c at line 690
if (lseek(fd, off.contents_off, SEEK_SET) == -1) {if (lseek(fd, (off_t)off.contents_off, SEEK_SET) == -1) {