Alright, I just sent a patch that replaces time_t with long instead. I tested it on x86, x86-x32, x86-64.
Alex On Wed, 8 Dec 2021 at 16:31, Mark Wielaard <m...@klomp.org> wrote: > Hi Alexander, > > On Sun, 2021-12-05 at 21:45 +0100, Alexander Kanavin wrote: > > I'm not sure; the point of this patch is simply to ensure debuginfod > builds > > everywhere without errors. Making the types consistent is perhaps better > > done as a followup? > > I think the issue of the code not compiling in some environments is > because of the inconsistent use of types. So I rather fix the build > errors by fixing the used types than to simply cast the errors away. > > Cheers, > > Mark >