diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-19 20:35:09 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-19 20:35:09 +0800 |
commit | b43ff180fb2e372adce876bfa155fc9bcf0c3db4 (patch) | |
tree | 9cb6801d2cc29b3acb20db210679ad71cac2290f /src/liblzma/common/hardware_cputhreads.c | |
parent | tuklib_common: Define __has_warning if it is not defined. (diff) | |
download | xz-b43ff180fb2e372adce876bfa155fc9bcf0c3db4.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/common/hardware_cputhreads.c')
0 files changed, 0 insertions, 0 deletions