Skip to content

Commit

Permalink
cocoapods warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bosborn committed Apr 3, 2019
1 parent 6c21b85 commit 34afbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiff-ios/TIFFFileDirectory.m
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ -(void) setUnsignedLongListEntryValue: (NSArray<NSNumber *> *) value withFieldTa

-(void) setRationalEntryValue: (NSArray<NSNumber *> *) value withFieldTag: (enum TIFFFieldTagType) fieldTagType{
if(value == nil || value.count != 2){
[NSException raise:@"Invalid Value" format:@"Invalid rational value, must be two longs. Size: %lu", value.count];
[NSException raise:@"Invalid Value" format:@"Invalid rational value, must be two longs. Size: %d", (int)value.count];
}
[self setEntryValue:value withFieldTag:fieldTagType andFieldType:TIFF_FIELD_RATIONAL andTypeCount:1];
}
Expand Down

0 comments on commit 34afbaa

Please sign in to comment.