1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Christian Marangi e408030cec
apk-tools: fix compilation warning from downstream full print patch
Fix trivial compilation warning caused by downstream full print patch.

../src/app_list.c: In function 'print_full':
../src/app_list.c:85:35: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
   85 |         printf("Installed-Size: %zu\n", pkg->installed_size);
      |                                 ~~^     ~~~~~~~~~~~~~~~~~~~
      |                                   |        |
      |                                   |        uint64_t {aka long long unsigned int}
      |                                   unsigned int
      |                                 %llu
../src/app_list.c:86:25: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
   86 |         printf("Size: %zu\n", pkg->size);
      |                       ~~^     ~~~~~~~~~
      |                         |        |
      |                         |        uint64_t {aka long long unsigned int}
      |                         unsigned int
      |                       %llu
../src/app_list.c:58:31: warning: unused variable 'd' [-Wunused-variable]
   58 |         struct apk_dependency d;

Remove unused variable and use PRIu64 to handle uint64_t type.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-14 17:15:07 +02:00
..
base-files base-files: add ucidef_set_interface_netdev_range function 2025-10-06 19:06:26 +02:00
boot uboot-ath79: update to v2025.10 2025-10-13 00:43:11 +02:00
devel perf: fix disabling BUILD_BPF_SKEL 2025-08-31 23:49:13 +02:00
firmware ipq-wifi: update to Git HEAD (2025-10-14) 2025-10-14 13:17:59 +02:00
kernel kernel: add missing cpe id for linux 2025-10-11 22:12:46 +02:00
libs openssl: update to 3.5.4 2025-10-04 16:22:43 +02:00
network wifi-scripts: ucode: fix airtime_mode with hostapd-mini 2025-10-13 10:56:39 +02:00
system apk-tools: fix compilation warning from downstream full print patch 2025-10-14 17:15:07 +02:00
utils ucode: revert a broken commit 2025-10-14 14:54:26 +02:00
Makefile package: do not sign individual APK packages 2025-10-09 12:52:43 +02:00