Skip to content

Invalid C++ style functional cast in C header file #8431

@surban

Description

@surban

float new_dist = float(pow((projected_pixel[1] - from_pixel[1]), 2) + pow((projected_pixel[0] - from_pixel[0]), 2));

This C++ style cast is invalid in C and thus fails when this header file is included by a C source file.

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