Skip to content
Snippets Groups Projects
  1. Aug 22, 2022
  2. Aug 20, 2022
  3. Aug 19, 2022
  4. Aug 18, 2022
    • Martin Storsjö's avatar
      contrib: libplacebo: Backport a patch to avoid -Wint-conversion errors · d4ab7715
      Martin Storsjö authored and Steve Lhomme's avatar Steve Lhomme committed
      Clang 15 made "incompatible pointer to integer conversion" an error
      instead of a plain warning. This fixes errors like these:
      
      ../src/vulkan/gpu_pass.c:208:59: error: incompatible integer to pointer conversion passing 'VkPipeline' (aka 'unsigned long long') to parameter of type 'const void *' [-Wint-conversion]
              vk_dev_callback(vk, (vk_cb) destroy_pipeline, vk, *out_pipe);
                                                                ^~~~~~~~~
      ../src/vulkan/command.h:36:52: note: passing argument to parameter 'arg' here
                           const void *priv, const void *arg);
                                                         ^
      ../src/vulkan/gpu_pass.c:209:19: error: incompatible pointer to integer conversion assigning to 'VkPipeline' (aka 'unsigned long long') from 'void *' [-Wint-conversion]
              *out_pipe = NULL;
                        ^ ~~~~
      
      This backports
      libplacebo@1d3ff4d4.
      d4ab7715
    • Martin Storsjö's avatar
      contrib: gnutls: Backport a patch to avoid -Wint-conversion errors · ef1d4f3d
      Martin Storsjö authored and Steve Lhomme's avatar Steve Lhomme committed
      Clang 15 made "incompatible pointer to integer conversion" an error
      instead of a plain warning. This fixes errors like these:
      
      system/keys-win.c:257:13: error: incompatible pointer to integer conversion initializing 'HCRYPTHASH' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
              HCRYPTHASH hHash = NULL;
                         ^       ~~~~
      
      This backports
      https://gitlab.com/gnutls/gnutls/-/commit/88d79b964d88730e316919d6ccd17ca0fe9b3244.
      ef1d4f3d
  5. Aug 17, 2022
Loading