Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Mar 17, 2021 · 1 comment
Open

Comments

@yurivict
Copy link

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.
@rougier
Copy link
Owner

rougier commented Mar 19, 2021

Thanks. Can you make a PR to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants