Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Missing parantheses compiler warning #9

@Dead2

Description

@Dead2

crc_folding.c: In function ‘crc_fold_copy’:
crc_folding.c:288:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
algn_diff = 0 - (unsigned long)src & 0xF;

I am unsure what the correct behaviour is here, and hope that someone who knows the algorithm can clarify this in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions