diff options
| author | Nico Weber <thakis@chromium.org> | 2018-03-01 09:55:46 -0500 |
|---|---|---|
| committer | Lenny Komow <lenny@lunarg.com> | 2018-03-02 09:40:13 -0700 |
| commit | 61ca7f7be14572617fc43e720a80e3ed80592014 (patch) | |
| tree | 809d3bc189cefb5cf3f963a798e442fc1ac8aca1 /scripts/validusage.json | |
| parent | 49c8be631d423d16e3dd3eef4e89a09e60814b34 (diff) | |
| download | usermoji-61ca7f7be14572617fc43e720a80e3ed80592014.tar.xz | |
build: Fix -Wmicrosoft-cast warnings with clang-cl
MSVC allows implicit conversion from function pointers to void*.
The C++ standard doesn't allow this, and clang-cl emits a warning
when this is done. This change fixes these warnings in
Vulkan-LoaderAndValidationLayers.
Arguably, loader_platform_get_proc_address() should return a
FARPROC so that the compiler can help checking calling conventions,
but this is the simplest fix that unblocks us.
This is needed for https://crbug.com/550065
Diffstat (limited to 'scripts/validusage.json')
0 files changed, 0 insertions, 0 deletions
