Snippets for mupdf 1.28.3 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/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/fitz/pixmap.c:1847:36: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1847 | int divXY = (strayY*strayX ? 65536/(strayX*strayY) : 0); | ~~~~~~^~~~~~~ -
source/fitz/pixmap.c:1825:24: warning: variable 'd' set but not used [-Wunused-but-set-variable] 1825 | unsigned char *d; | ^ -
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