On Tue, Dec 21, 2021 at 06:24:44PM +0000, Job Snijders wrote: > On Tue, Dec 21, 2021 at 07:00:03PM +0100, Claudio Jeker wrote: > > For some reasons various ids were stored as size_t (probably because once > > they used to be the index in an array). This is just silly and annoyed me > > for long enough. I think this fixes all of them. > > > > While there also stop using size_t for maxlength of a prefix. Everywhere > > else the code uses just a unsigned char for that so do it there as well. > > Shuffle struct a little bit in hope for better packing. > > > > Seems to work with RRDP and RSYNC. > > print.c line 155 may need a small change too (-Wformat error)
Cool, I changed that %zu to %hhu. > other than that, OK job@ Thanks. -- :wq Claudio