Another (untested) way to fix this issue is to craft the format string
using _Generic:
strcpy(p, mtp3_timer2str(x));
p += strlen(p);
-sprintf(p, "(%lis)%c",
ss7->ss7_sched[ss7->links[i]->mtp3_timer[x]].when.tv_sec - time(NULL),
+#define FORMAT _Generic((time_t){0}, long int: "(%lis)%c", long
Package: libss7-2.0
Version: 2.0.0-2
Tags: ftbfs
Usertags: x32
Priority: minor
libss7 2.0 fails to build on x32 because it assumes time_t is of type
long int when it can be long long int (64-bit, on a system with a
32-bit long).
gcc -g -O2 -fdebug-prefix-map=/<>=.
2 matches
Mail list logo