diff options
author | Martin Storsjö <martin@martin.st> | 2023-03-05 23:36:53 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-03-07 18:16:02 +0200 |
commit | f9620d74cd49c35223304ba41e28be6144e45783 (patch) | |
tree | c8e5adf8cd7801a1831f1b1a021c862391620b3c /libavcodec/mpegaudiodata.c | |
parent | b10eabdab3e2bd5d4d8e66064dda63185d6829b4 (diff) | |
download | ffmpeg-f9620d74cd49c35223304ba41e28be6144e45783.tar.gz |
vulkan: Fix win/i386 calling convention
This fixes the following error when compiling with a modern
version of Clang for Windows/i386:
src/libavutil/hwcontext_vulkan.c:738:32: error: incompatible function pointer types initializing 'PFN_vkDebugUtilsMessengerCallbackEXT' (aka 'unsigned int (*)(enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const struct VkDebugUtilsMessengerCallbackDataEXT *, void *) __attribute__((stdcall))') with an expression of type 'VkBool32 (VkDebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT *, void *)' (aka 'unsigned int (enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const struct VkDebugUtilsMessengerCallbackDataEXT *, void *)') [-Wincompatible-function-pointer-types]
.pfnUserCallback = vk_dbg_callback,
^~~~~~~~~~~~~~~
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegaudiodata.c')
0 files changed, 0 insertions, 0 deletions