URL: <http://savannah.gnu.org/bugs/?27008>
Summary: NSNextMapEnumeratorPair() in NSConcreteMapTable treats C-types as objects Project: GNUstep Submitted by: thebeing Submitted on: Fr 10 Jul 2009 22:28:03 GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hello, I just experienced some wiredness with NSMapTable. NSNextMapEnumeratorPair() seems to fail on lines #870 and 886 of NSConcreteMapTable.m (r. The incriminated lines read: id k = [(NSEnumerator*)enumerator->node nextObject]; and *value = [(NSMapTable*)enumerator->bucket objectForKey: k]; respectively. From what I gather, it doesn't make sense here to treat these as objects ('node' in the _GSIMapEnumerator struct is a GSIMapNode structure and 'bucket' is size_t). My own attempts at fixing this failed because I obviously don't grok GSIMap ;-) I hope that I've diagnosed the problem correctly. If you need any further information, please ask. kind regards, Niels _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27008> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep