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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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