    libheif-1.17.6/libheif/plugins/encoder_jpeg.cc:366:37: error: invalid conversion from 'long unsigned 
        int*' to 'size_t*' {aka 'unsigned int*'} [-Werror=permissive]
    366 |   jpeg_mem_dest(&cinfo, &outbuffer, &outlength);
        |                                     ^~~~~~~~~~
        |                                     |
        |                                     long unsigned int*

32-bit compile fails
This is a GitHub Issue
repo:libheif
owner:strukturag
Title : 32-bit compile fails
Issue date:

--- start body ---
    libheif-1.17.6/libheif/plugins/encoder_jpeg.cc:366:37: error: invalid conversion from 'long unsigned 
        int*' to 'size_t*' {aka 'unsigned int*'} [-Werror=permissive]
    366 |   jpeg_mem_dest(&cinfo, &outbuffer, &outlength);
        |                                     ^~~~~~~~~~
        |                                     |
        |                                     long unsigned int*

--- end body ---

None