Patch by VladimĂ­r Marek (neuron), part of bugfix #5298
[blender.git] / extern / bFTGL / src / FTCharmap.cpp
index f2400eea0f6a33a542a6941f0bc44cefa7cef8a2..00e8cfceca568cfb517f00f3dbdf433599d66f0e 100644 (file)
@@ -44,13 +44,13 @@ bool FTCharmap::CharMap( FT_Encoding encoding)
 }
 
 
-unsigned int FTCharmap::GlyphListIndex( unsigned int characterCode )
+unsigned int FTCharmap::GlyphListIndex( const unsigned int characterCode )
 {
     return charMap.find( characterCode);
 }
 
 
-unsigned int FTCharmap::FontIndex( unsigned int characterCode )
+unsigned int FTCharmap::FontIndex( const unsigned int characterCode )
 {
     return FT_Get_Char_Index( ftFace, characterCode);
 }