diff --git a/Source/NSGArray.m b/Source/NSGArray.m index 0dde6961a..b0d789570 100644 --- a/Source/NSGArray.m +++ b/Source/NSGArray.m @@ -83,7 +83,7 @@ - objectAtIndex: (unsigned)index { - if (index < _count) + if (index >= _count) [NSException raise:NSRangeException format:@"Index out of bounds"]; return _contents_array[index].id_u;