mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Fixed Signed/Unsigned Comparison Warning
In Visual Studio 17, I get warnings related to these variables: ```` fontstash.h(241): warning C4018: '<': signed/unsigned mismatch fontstash.h(242): warning C4018: '<': signed/unsigned mismatch ```` Making them unsigned fixes it.
This commit is contained in:
parent
426aa3f149
commit
52265fe278
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ void fons__tt_renderGlyphBitmap(FONSttFontImpl *font, unsigned char *output, int
|
|||
{
|
||||
FT_GlyphSlot ftGlyph = font->font->glyph;
|
||||
int ftGlyphOffset = 0;
|
||||
int x, y;
|
||||
unsigned int x, y;
|
||||
FONS_NOTUSED(outWidth);
|
||||
FONS_NOTUSED(outHeight);
|
||||
FONS_NOTUSED(scaleX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue