cast to keep compiler happy

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32734 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-03-29 09:41:59 +00:00
parent 085e0c9761
commit cecdd28ed5

View file

@ -194,7 +194,7 @@ cacheAttributes(NSDictionary *attrs)
* in an immutable dictionary that can safely be cached.
*/
attrs = [[NSDictionary alloc] initWithDictionary: attrs copyItems: NO];
GSIMapAddPair(&attrMap, (GSIMapKey)((id)attrs), (GSIMapVal)(unsigned)1);
GSIMapAddPair(&attrMap, (GSIMapKey)((id)attrs), (GSIMapVal)(NSUInteger)1);
}
else
{