Skip to content

Implicit conversion from 'unsigned int' to 'float'  #92

@tellypresence

Description

@tellypresence

Just noticed this after updating to android NDK r22; here is one of the several occurences that were reported:

DevIL/DevIL/src-IL/src/il_convert.cpp:766:57:
error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 
[-Werror,-Wimplicit-const-int-float-conversion]

Not a show stopper as this is easy to downgrade to warning, but would be nice to deal with it in a future modernization sprint

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