1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-15 11:43:55 +02:00
openwrt-routing/cjdns/patches/010-musl-12x.patch
Rosen Penev 0907cf0a94 cjdns: update to 21
Fixed compilation with musl 1.2.x , mostly.

Added a patch fixing compilation on 32-bit platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-26 11:52:20 +00:00

12 lines
506 B
Diff

--- a/memory/Allocator.c
+++ b/memory/Allocator.c
@@ -57,7 +57,7 @@ static void unroll(struct Allocator_pvt*
struct Allocator_Allocation_pvt* allocation = context->allocations;
while (allocation && includeAllocations) {
writeUnroller(&childUnroller);
- fprintf(stderr, "%s:%ld [%lu] bytes at [0x%lx]\n",
+ fprintf(stderr, "%s:%tu [%tu] bytes at [0x%lx]\n",
allocation->fileName,
allocation->lineNum,
allocation->pub.size,