mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:30:38 +00:00
Change type of a variable holding a character index to int (was char, would overflow and break things.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16117 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f042ef5fcf
commit
017c2515c7
2 changed files with 9 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ NS_DURING
|
|||
}
|
||||
else
|
||||
{
|
||||
unsigned char chi;
|
||||
unsigned int chi;
|
||||
unichar ch;
|
||||
chi = [curLayoutManager characterRangeForGlyphRange: NSMakeRange(curGlyph - 1, 1)
|
||||
actualGlyphRange: NULL].location;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue