+2005-05-03 Helge Hess <helge.hess@opengroupware.org>
+
+ * NSObject+XmlRpc.m, XmlRpcSaxHandler.m: fixed gcc 4.0 warnings
+ (v4.5.25)
+
2005-04-26 Helge Hess <helge.hess@skyrix.com>
* XmlRpcDecoder.m: fixed duplicate decoding of base64 values in XML-RPC
buf[0] = _chars[0]; buf[1] = _chars[1];
buf[2] = _chars[2]; buf[3] = _chars[3];
buf[4] = '\0';
- year = atoi(buf);
+ year = atoi((char *)buf);
buf[0] = _chars[4]; buf[1] = _chars[5]; buf[2] = '\0';
- month = atoi(buf);
+ month = atoi((char *)buf);
buf[0] = _chars[6]; buf[1] = _chars[7]; buf[2] = '\0';
- day = atoi(buf);
+ day = atoi((char *)buf);
buf[0] = _chars[9]; buf[1] = _chars[10]; buf[2] = '\0';
- hour = atoi(buf);
+ hour = atoi((char *)buf);
buf[0] = _chars[12]; buf[1] = _chars[13]; buf[2] = '\0';
- min = atoi(buf);
+ min = atoi((char *)buf);
buf[0] = _chars[15]; buf[1] = _chars[16]; buf[2] = '\0';
- sec = atoi(buf);
+ sec = atoi((char *)buf);
if (year > 2033) {
NSString *s;
# version file
-SUBMINOR_VERSION:=24
+SUBMINOR_VERSION:=25
}
- (void)end_member {
- id tmp = [[self->valueStack lastObject] value];
+ id tmp; // TODO: can't we type the var?
+
+ tmp = [[self->valueStack lastObject] value];
if ([self->memberNameStack count] != [self->memberValueStack count]) {
NSLog(@"Warning(%s): memberNameStack.count != memberValueStack.count"
else if (![tmp isKindOfClass:DictionaryClass])
self->invalidCall = YES;
else {
- [tmp setObject:[self->memberValueStack lastObject]
- forKey:[self->memberNameStack lastObject]];
+ [(NSMutableDictionary *)tmp
+ setObject:[self->memberValueStack lastObject]
+ forKey:[self->memberNameStack lastObject]];
[self->memberNameStack removeLastObject];
[self->memberValueStack removeLastObject];