HomeFreeBSD

security/samhain: fix build on big-endian

Description

security/samhain: fix build on big-endian

x_sh_checksum.c:471:15: error: incompatible pointer to integer conversion passing 'sha2_word32[8]' (aka 'unsigned int[8]') to parameter of type 'int' [-Wint-conversion]

memset(d, context->state, SHA256_DIGEST_LENGTH);
          ^~~~~~~~~~~~~~

Details

Provenance
pkubajAuthored on Jan 27 2024, 3:16 PM
Parents
R11:b5724fc17272: lang/gcc14-devel: fix build by bumping PORTREVISION
Branches
Unknown
Tags
Unknown