Skip to content

invalid compilation #10

@cdomet-d

Description

@cdomet-d
src/raycasting/events.c:25:23: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
   25 |         if ((size_t)x >= 0 || (size_t)x <= rdata->map.msize.j)
      |                       ^~
src/raycasting/events.c:27:23: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
   27 |         if ((size_t)y >= 0 || (size_t)y <= rdata->map.msize.i)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions