mirror of
https://git.openwrt.org/feed/routing.git
synced 2024-06-17 04:33:58 +02:00
0907cf0a94
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>
12 lines
506 B
Diff
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,
|