diff options
| author | Pali Rohár <pali.rohar@gmail.com> | 2024-09-16 23:59:06 +0200 |
|---|---|---|
| committer | Silvio <silvio.traversaro@iit.it> | 2025-04-28 14:49:51 +0200 |
| commit | e0520e25643b51e69aa78e5944cdf2853323b06a (patch) | |
| tree | 6785ac6935379c890e5d62288e19c31faee0afe4 /visual-studio | |
| parent | 5a4d701248f88fb1a6f66932c58d73e74dfadbd9 (diff) | |
| download | dlfcn-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 'visual-studio')
0 files changed, 0 insertions, 0 deletions
