diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m
index 3e802d6fa..d2daecf35 100644
--- a/Source/Additions/GSXML.m
+++ b/Source/Additions/GSXML.m
@@ -3681,7 +3681,7 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
}
- (NSString *) description
{
- return [NSString_class stringWithFormat: @"NodeSet (count %d)", [self count]];
+ return [NSString_class stringWithFormat: @"NodeSet (count %u)", [self count]];
}
@end
@@ -4609,7 +4609,7 @@ static void indentation(unsigned level, NSMutableString *str)
}
else
{
- [str appendFormat: @"%d", i];
+ [str appendFormat: @"%ld", i];
}
}
else