aboutsummaryrefslogtreecommitdiffstats
path: root/compat/cuda
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-03-05 23:36:53 +0200
committerMartin Storsjö <martin@martin.st>2023-03-10 12:36:15 +0200
commit1cf17633cd5d1fa97268618abb2e082ba16348a0 (patch)
treeec82b6f5111abf56b18499b1dd71b59d9edff997 /compat/cuda
parent0e11aafb08e3a467d30b781b33bf6d782debfcd0 (diff)
downloadffmpeg-1cf17633cd5d1fa97268618abb2e082ba16348a0.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> (cherry picked from commit f9620d74cd49c35223304ba41e28be6144e45783) Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'compat/cuda')
0 files changed, 0 insertions, 0 deletions