ObjFW  Check-in [66fbb69b36]

Overview
Comment:Add a cast so that some old compilers don't complain.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 66fbb69b3622d4c1ee7858ea56b1d1d7d74f8a93037af59ba2a37de3ed687948
User & Date: js on 2011-02-09 18:23:35
Other Links: manifest | tags
Context
2011-02-09
18:27
Add two missing includes. check-in: 90893f3cbe user: js tags: trunk
18:23
Add a cast so that some old compilers don't complain. check-in: 66fbb69b36 user: js tags: trunk
18:20
Fix #ifdef in +[OFThread yield]. check-in: f33274d615 user: js tags: trunk
Changes

Modified src/OFXMLElement.m from [6f7988f149] to [ae14e81241].

237
238
239
240
241
242
243
244


245
246
247
248
249
250
251
237
238
239
240
241
242
243

244
245
246
247
248
249
250
251
252







-
+
+







		while ((key = [key_enum nextObject]) != nil &&
		    (obj = [obj_enum nextObject]) != nil)
			[all_namespaces setObject: obj
					   forKey: key];
	} else
		all_namespaces = namespaces;

	prefix = [all_namespaces objectForKey: (ns != nil ? ns : @"")];
	prefix = [all_namespaces objectForKey:
	    (ns != nil ? ns : (OFString*)@"")];

	i = 0;
	len = [name cStringLength] + 3;
	str_c = [self allocMemoryWithSize: len];

	/* Start of tag */
	str_c[i++] = '<';