Fixing a bunch of compiler warnings.
This commit is contained in:
parent
ede60da544
commit
ebd598b2b0
4 changed files with 11 additions and 11 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue