diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-19 20:35:09 +0800 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-03-11 21:45:26 +0200 |
commit | 8daaac8e10f68289b44f68d0925e169176ce8a5c (patch) | |
tree | 794f5e2002caedd32eeb4f5ee1f625f636ff0dc2 /src/liblzma/rangecoder/range_encoder.h | |
parent | xz: Add missing comment for coder_set_compression_settings() (diff) | |
download | xz-8daaac8e10f68289b44f68d0925e169176ce8a5c.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/rangecoder/range_encoder.h')
0 files changed, 0 insertions, 0 deletions