diff --git a/modules/juce_graphics/native/juce_freetype_Fonts.cpp b/modules/juce_graphics/native/juce_freetype_Fonts.cpp index a813ec61b1..4dd510510c 100644 --- a/modules/juce_graphics/native/juce_freetype_Fonts.cpp +++ b/modules/juce_graphics/native/juce_freetype_Fonts.cpp @@ -353,8 +353,8 @@ class FreeTypeTypeface : public CustomTypeface bool getGlyphShape (Path& destShape, const FT_Outline& outline, const float scaleX) { const float scaleY = -scaleX; - const short* const contours = outline.contours; - const char* const tags = outline.tags; + short unsigned int* const contours = outline.contours; + unsigned char* const tags = outline.tags; const FT_Vector* const points = outline.points; for (int c = 0; c < outline.n_contours; ++c)