[Tile-serving] [openstreetmap/mod_tile] Address compiler warnings (PR #376)

Hummeltech notifications at github.com
Tue Jan 30 15:42:19 UTC 2024


@hummeltech pushed 16 commits.

6d7db3a468f31ff24eac89bb5fe8d41f4b9d1549  Wrap config.h contents
b7ccf43d3c228326ee940b584d6022f86ce8c671  Cast `pthread_self()` to `unsigned long`
3580c8e552de86f15309dcfcf087c4adf37311c0  Cast `os_thread` to `unsigned long`
0527c74b0e3c3aaa07afe01416602e48fb72951a  Include `string.h`/`strings.h` to resolve `undeclared library function`
fb0d7a62c4d6c4de7cbaafd5807b5780f336e7b3  Include `netinet/in.h` for `htons`/`htonl`
b5099536f2eed45fa4732d3fcdba029b11b9390e  Include `netinet/in.h` for `in6_addr`/`in_addr_t`
cf16b9f2feff90bbf71f0704db3e10dfd617aaa7  Include `protocol.h` for `XMLCONFIG_MAX`
a2f2b0c42d7ec7fc9f3e34aa6e9400332007940f  Include `apr_tables.h` for `apr_*`
77f026e9560e92be5d5e842907d1c1dd70c249a8  Resolve `warning: format specifies type 'char *' but the argument has type 'const char *'`
c9729c78b3cec40d844fe7375951e257525d408c  Resolve `warning: enumeration values ... not handled in switch`
df4b581ab5cdd4ffd564d5312f584975316dd6fe  Resolve `warning: format specifies type 'long' but the argument has type 'apr_uint64_t'`
d086597d50464f875bac217be7c816c084035ce3  Resolve `warning: format specifies type 'long long' but the argument has type 'long'`
c3dfe4bea679f1f098b9d817ea422a8284835ba1  Resolve `warning: format specifies type 'long' but the argument has type 'off_t'`
a074ed4ab02a70247b8925feaf4053d08f750e8f  Resolve `warning: 'sprintf' is deprecated`
2caae72f65e4cab20875a8d664e28c0e9c681a1d  Resolve loss of precision
0689246df6e3e4ab5861e38719090d1c89c50b38  Don't need `-Wno-implicit-function-declaration`

-- 
View it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/376/files/c3316f35183489f55f1949f130773073e64064f6..0689246df6e3e4ab5861e38719090d1c89c50b38
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/376/push/16862966245 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240130/853c45cb/attachment.htm>


More information about the Tile-serving mailing list