Correct a crash on 64 bit systems.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26528 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-05-15 01:56:58 +00:00
parent e137828b7e
commit 016798f3cb
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-05-14 21:55-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSLayoutManager.m: Changed unsigned int to NSUInteger
per Fred Kiefer's suggestion. This corrects a crash which was
detected on 64 bit systems.
2008-05-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m: (-dealloc): Try to better cope with the

View file

@ -674,8 +674,8 @@ Fills in all glyph holes up to last. only looking at levels below level
}
else
{
unsigned int cindex = cpos;
unsigned int gindex = gpos + total;
NSUInteger cindex = cpos;
NSUInteger gindex = gpos + total;
// Cache the current run
cached_run = (glyph_run_t *)h;