Skip to content

Commit

Permalink
objc syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Dec 21, 2024
1 parent f485ade commit cd51c10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ - (void)imageWithView:(UIView *_Nonnull)view
} else if ([value isKindOfClass:[NSDictionary class]]) {
NSDictionary *dict = (NSDictionary *)value;
long address = ((NSNumber *)dict[@"address"]).longValue;
(NSNumber *)length = ((NSNumber *)dict[@"length"]);
NSNumber *length = ((NSNumber *)dict[@"length"]);
NSData *data =
[NSData dataWithBytesNoCopy:(void *)address
length:length.unsignedLongValue
Expand Down

0 comments on commit cd51c10

Please # to comment.