1
0
Fork 0

Fixing a bunch of compiler warnings.

This commit is contained in:
Henrik Hautakoski 2018-05-12 19:31:34 +02:00
parent ede60da544
commit ebd598b2b0
4 changed files with 11 additions and 11 deletions

View file

@ -90,7 +90,7 @@ Vector2f Text::getSize() const
{
Vector2f size;
for(int i = 0; i < m_string.size(); i++) {
for(size_t i = 0; i < m_string.size(); i++) {
Font::Glyph glyph = m_font->getGlyph(m_string[i]);
@ -136,7 +136,7 @@ void Text::updateGeometry() const
m_vertices.clear();
for(int i = 0; i < m_string.length(); i++) {
for(size_t i = 0; i < m_string.length(); i++) {
Vertex2D v1, v2, v3, v4;