aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2024-09-16 23:59:06 +0200
committerSilvio <silvio.traversaro@iit.it>2025-04-28 14:49:51 +0200
commite0520e25643b51e69aa78e5944cdf2853323b06a (patch)
tree6785ac6935379c890e5d62288e19c31faee0afe4 /cmake/modules
parent5a4d701248f88fb1a6f66932c58d73e74dfadbd9 (diff)
downloaddlfcn-win32-e0520e25643b51e69aa78e5944cdf2853323b06a.tar.gz
dlfcn-win32-e0520e25643b51e69aa78e5944cdf2853323b06a.tar.bz2
dlfcn-win32-e0520e25643b51e69aa78e5944cdf2853323b06a.zip
Do not cast between function pointer and data pointer when not required
This is undefined in C and also C++. Both gcc and msvc allows to cast between two incompatible function pointers without triggering warnings transitionally via void(*)(void) function pointer. Replace transitional LPVOID cast by void(*)(void) cast.
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions