Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-25 19:35:56 +0300
committerTon Roosendaal <ton@blender.org>2006-11-25 19:35:56 +0300
commit627261da50cf268239b113c373e09902945b4b28 (patch)
tree5854da5f2f4924a80d11e70779296c768665d468 /extern
parent48a640f375f95e0d6d67a50ad9464b8a624c78ad (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.cpp4
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);
}