Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • 2025Q1
  • 2024Q1
  • 2024Q4
  • 2024Q3
  • 2024Q2
  • 2023Q4
  • 2023Q3
  • 2023Q2
  • 2023Q1
  • 2022Q4
  • 2022Q3
  • 2022Q2
  • 2022Q1
  • 2021Q4
  • 2021Q3
  • 2021Q2
  • 2021Q1
  • 2020Q4
  • 2020Q3
  • release/13.5.0
  • 13.3-eol
  • release/14.2.0
  • 14.0-eol
  • release/13.4.0
  • release/14.1.0
  • release/13.3.0
  • 12-eol
  • 12.4-eol
  • release/14.0.0
  • 13.1-eol-q
  • 13.1-eol
  • 12.3-last
  • 12.3-eol
  • release/13.2.0
  • release/12.4.0
  • release/13.1.0
  • release/12.3.0
  • 11-eol
  • release/13.0.0
40 results

patch-plug-ins_common_file-dicom.c

  • Dimitry Andric's avatar
    1b057efd
    graphics/gimp-app: fix build with clang 15 · 1b057efd
    Dimitry Andric authored
    During an exp-run for llvm 15 (see bug 265425), it turned out that
    graphics/gimp-app failed to build with clang 15:
    
      file-dicom.c:605:26: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gint32' (aka 'int') [-Wint-conversion]
                        return NULL;
                               ^~~~
    
    This is because the return statement is a function that should return an
    integer, not a pointer. Replace it with the error value -1, as used
    elsewhere in the function.
    
    PR:		268790
    Approved by:	fluffy (maintainer)
    MFH:		2023Q1
    1b057efd
    History
    graphics/gimp-app: fix build with clang 15
    Dimitry Andric authored
    During an exp-run for llvm 15 (see bug 265425), it turned out that
    graphics/gimp-app failed to build with clang 15:
    
      file-dicom.c:605:26: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gint32' (aka 'int') [-Wint-conversion]
                        return NULL;
                               ^~~~
    
    This is because the return statement is a function that should return an
    integer, not a pointer. Replace it with the error value -1, as used
    elsewhere in the function.
    
    PR:		268790
    Approved by:	fluffy (maintainer)
    MFH:		2023Q1
Code owners
Assign users and groups as approvers for specific file changes. Learn more.