Skip to content

Commit 49dc793

Browse files
authored
Fix NSInteger parameter types for length and position in read function
Fixes itinance#1246
1 parent 64aa755 commit 49dc793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RNFSManager.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ + (BOOL)requiresMainQueueSetup
294294
}
295295

296296
RCT_EXPORT_METHOD(read:(NSString *)filepath
297-
length: (NSInteger *)length
298-
position: (NSInteger *)position
297+
length: (NSInteger)length
298+
position: (NSInteger)position
299299
resolver:(RCTPromiseResolveBlock)resolve
300300
rejecter:(RCTPromiseRejectBlock)reject)
301301
{

0 commit comments

Comments
 (0)