Ticket #61091: imlib2-fix-big_endian.diff

File imlib2-fix-big_endian.diff, 326 bytes (added by ballapete (Peter "Pete" Dyballa), 4 years ago)

Patch to declare l on big-endian hardware

  • src/modules/loaders/loader_argb.c

    old new  
    5252           goto quit;
    5353
    5454#ifdef WORDS_BIGENDIAN
     55        int                 l;
    5556        for (l = 0; l < im->w; l++)
    5657           SWAP_LE_32_INPLACE(ptr[l]);
    5758#endif