Avoid 'size_t' typedef in the unittest ObjC code

This should fix
http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA

llvm-svn: 312133
This commit is contained in:
Alex Lorenz 2017-08-30 15:37:30 +00:00
parent 410ef3838a
commit caf2ef0d81
1 changed files with 3 additions and 3 deletions

View File

@ -535,10 +535,10 @@ void selectProp(I *i) {
i.prop = 21; i.prop = 21;
} }
typedef unsigned int size_t;
@interface NSMutableArray @interface NSMutableArray
- (id)objectAtIndexedSubscript:(size_t)index; - (id)objectAtIndexedSubscript:(unsigned int)index;
- (void)setObject:(id)object atIndexedSubscript:(size_t)index; - (void)setObject:(id)object atIndexedSubscript:(unsigned int)index;
@end @end
void selectSubscript(NSMutableArray *array, I *i) { void selectSubscript(NSMutableArray *array, I *i) {