diff --git a/src/starsphere/Starsphere.cpp b/src/starsphere/Starsphere.cpp index 79c00ea8e7a5ee3e21bbceb4109da2d94c794323..0704e265420702adfd7c754065fa5a81ad214468 100644 --- a/src/starsphere/Starsphere.cpp +++ b/src/starsphere/Starsphere.cpp @@ -654,7 +654,7 @@ void Starsphere::initialize(const int width, const int height, const float scale m_FontHeader = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 20, uint(DESIGN_DPI) ); + 20, (FT_UInt) DESIGN_DPI ); if ( m_FontHeader == 0 || !m_FontHeader->isValid() ) { cerr << "Could not construct header font face from in memory resource!" << endl; @@ -667,7 +667,7 @@ void Starsphere::initialize(const int width, const int height, const float scale m_FontText = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 16, uint(DESIGN_DPI) ); + 16, (FT_UInt) DESIGN_DPI ); if ( m_FontText == 0 || !m_FontText->isValid() ) { cerr << "Could not construct text font face from in memory resource!" << endl; diff --git a/src/starsphere/StarsphereRadio.cpp b/src/starsphere/StarsphereRadio.cpp index 17e265f548aedef6a774a04a5c32a56f6568a4be..4848974369a854d3650add05b2eae94eb0f88c7e 100644 --- a/src/starsphere/StarsphereRadio.cpp +++ b/src/starsphere/StarsphereRadio.cpp @@ -76,7 +76,7 @@ void StarsphereRadio::initialize(const int width, const int height, const float m_FontLogo1 = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 36, uint(DESIGN_DPI) ); + 36, (FT_UInt) DESIGN_DPI ); if ( m_FontLogo1 == 0 || !m_FontLogo1->isValid() ) { cerr << "Could not construct logo1 font face from in memory resource!" << endl; @@ -89,7 +89,7 @@ void StarsphereRadio::initialize(const int width, const int height, const float m_FontLogo2 = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 15.5, uint(DESIGN_DPI) ); + 15.5, (FT_UInt) DESIGN_DPI ); if ( m_FontLogo2 == 0 || !m_FontLogo2->isValid() ) { cerr << "Could not construct logo2 font face from in memory resource!" << endl; diff --git a/src/starsphere/StarsphereS5R3.cpp b/src/starsphere/StarsphereS5R3.cpp index cbee93ad1b2701769894d2000b1e656eaaa5ad54..b7aabe985c5f7f5444b5403d2d63584258a4b25b 100644 --- a/src/starsphere/StarsphereS5R3.cpp +++ b/src/starsphere/StarsphereS5R3.cpp @@ -58,7 +58,7 @@ void StarsphereS5R3::initialize(const int width, const int height, const float s m_FontLogo1 = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 36, uint(DESIGN_DPI) ); + 36, (FT_UInt) DESIGN_DPI ); if ( m_FontLogo1 == 0 || !m_FontLogo1->isValid() ) { cerr << "Could not construct logo1 font face from in memory resource!" << endl; @@ -71,7 +71,7 @@ void StarsphereS5R3::initialize(const int width, const int height, const float s m_FontLogo2 = new OGLFT::TranslucentTexture( &m_FontResource->data()->at(0), m_FontResource->data()->size(), - 16, uint(DESIGN_DPI) ); + 16, (FT_UInt) DESIGN_DPI ); if ( m_FontLogo2 == 0 || !m_FontLogo2->isValid() ) { cerr << "Could not construct logo2 font face from in memory resource!" << endl;