Index: tests/OFJSONTests.m ================================================================== --- tests/OFJSONTests.m +++ tests/OFJSONTests.m @@ -36,11 +36,11 @@ OFString *s = @"{\"foo\"\t:\"bar\", \"x\":/*fooo*/ [7.5\r,null//bar\n" @",\"foo\",false]}"; OFDictionary *d = [OFDictionary dictionaryWithKeysAndObjects: @"foo", @"bar", @"x", [OFArray arrayWithObjects: - [OFNumber numberWithFloat: 7.5], + [OFNumber numberWithFloat: 7.5f], [OFNull null], @"foo", [OFNumber numberWithBool: NO], nil], nil];