diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-25 19:35:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-25 19:35:56 +0300 |
commit | 627261da50cf268239b113c373e09902945b4b28 (patch) | |
tree | 5854da5f2f4924a80d11e70779296c768665d468 /extern | |
parent | 48a640f375f95e0d6d67a50ad9464b8a624c78ad (diff) |
Patch by VladimĂr Marek (neuron), part of bugfix #5298
Solaris CC compiler choked on wrong .h prototypes for functions using
'const' arguments.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/bFTGL/src/FTCharmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/bFTGL/src/FTCharmap.cpp b/extern/bFTGL/src/FTCharmap.cpp index f2400eea0f6..00e8cfceca5 100644 --- a/extern/bFTGL/src/FTCharmap.cpp +++ b/extern/bFTGL/src/FTCharmap.cpp @@ -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); } |