Skip to content

Possible invalid right shift in encoding.c #112

Closed

Description

@yami36

The line 160 in encoding.c:

res = (uint16_t) (val & 0x80000000) >> 16 | (uint16_t) (1 << (24 + logical_exp));

generates a warning C4333 using Visual C++. Shifting a 16 bits value by 16.

Missing parenthesis ?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址