]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
afh: Make ->chunks_total and ->seconds_total fixed-size.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Oct 2014 23:52:50 +0000 (23:52 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 28 Dec 2015 17:02:04 +0000 (17:02 +0000)
These members of struct afh_info are stored as 4-byte quantities in
the serialized afhi blob created by save_afhi(), so the structure
should declare them as uint32_t rather than unsigned long.

Fortunately, this bug is benign since save_afhi() uses the write_u32()
helper from portable_io.h which does the right thing, regardless of
the type of the variable passed.


No differences found