Snippets for mupdf 1.28.3 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/mupdf/mupdf-1.28.3-r1.log.
-
source/fitz/path.c:1187:19: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 1187 | int i, k, n; | ^ -
source/pdf/pdf-object.c:250:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 250 | fz_warn(ctx, "invalid object number (%ld)", num); | ~~^ ~~~ | | | | | int64_t {aka long long int} | long int | %lld -
source/html/html-layout.c:4782:20: warning: 'heading' may be used uninitialized [-Wmaybe-uninitialized] 4782 | if (heading || box->id != NULL || box->href) | ^ -
platform/x11/curl_stream.c:400:94: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 400 | fz_throw(ctx, err_type, "read of a block we don't have (A) (offset=%ld)", read_point); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lld -
platform/x11/curl_stream.c:414:94: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 414 | fz_throw(ctx, err_type, "read of a block we don't have (B) (offset=%ld)", read_point); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lld -
platform/x11/curl_stream.c:437:94: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 437 | fz_throw(ctx, err_type, "read of a block we don't have (C) (offset=%ld)", read_point); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lld -
platform/x11/curl_stream.c:460:102: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 460 | fz_throw(ctx, err_type, "read of a block we don't have (D) (offset=%ld)", read_point); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lld -
platform/x11/curl_stream.c:485:102: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 485 | fz_throw(ctx, err_type, "read of a block we don't have (E) (offset=%ld)", read_point); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lld