quadword number fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35538 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-09-07 08:21:23 +00:00
parent e798592eb8
commit 8e79b950a7

View file

@ -4693,14 +4693,14 @@ static void indentation(unsigned level, NSMutableString *str)
BOOL compact = [rpc compact];
INDENT(indent);
if (strchr("cCsSiIlL", *t) != 0)
if (strchr("cCsSiIlLqQ", *t) != 0)
{
int64_t i = [self longLongValue];
if ((i & 0xffffffff) != i)
{
[NSException raise: NSInternalInconsistencyException
format: @"Can't encode %"PRId64" as i4"];
format: @"Can't encode %"PRId64" as i4", i];
}
if ((i == 0 || i == 1) && (*t == 'c' || *t == 'C'))
{