Skip to content

warning: format specifies type 'int' but the argument has type 'size_t'  #232

@yurivict

Description

@yurivict

clang-10 complains:

/usr/ports/graphics/freetype-gl/work/freetype-gl-647b062/makefont.c:375:20: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
        font_size, atlas->width, atlas->height, atlas->depth);
                   ^~~~~~~~~~~~
/usr/ports/graphics/freetype-gl/work/freetype-gl-647b062/makefont.c:375:34: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
        font_size, atlas->width, atlas->height, atlas->depth);
                                 ^~~~~~~~~~~~~
/usr/ports/graphics/freetype-gl/work/freetype-gl-647b062/makefont.c:375:49: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
        font_size, atlas->width, atlas->height, atlas->depth);
                                                ^~~~~~~~~~~~
3 warnings generated.

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