diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-19 20:35:09 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-02-03 21:38:13 +0800 |
commit | 257dbff0ba1a7bc45a74d203ece015c9f70c88cd (patch) | |
tree | ca3eb34652443891ce42f3ec237344fbe838c78c /src/liblzma/api/lzma/base.h | |
parent | xz: Add missing comment for coder_set_compression_settings() (diff) | |
download | xz-257dbff0ba1a7bc45a74d203ece015c9f70c88cd.tar.xz |
tuklib_physmem: Silence warning from -Wcast-function-type on MinGW-w64.
tuklib_physmem depends on GetProcAddress() for both MSVC and MinGW-w64
to retrieve a function address. The proper way to do this is to cast the
return value to the type of function pointer retrieved. Unfortunately,
this causes a cast-function-type warning, so the best solution is to
simply ignore the warning.
Diffstat (limited to 'src/liblzma/api/lzma/base.h')
0 files changed, 0 insertions, 0 deletions