Skip to content

Commit

Permalink
ref: Fix linter error (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers authored Jul 18, 2022
1 parent 9640294 commit 37e9eab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Sentry/SentryCrashWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ - (NSDictionary *)systemInfo
return sharedInfo;
}

- (NSInteger)freeMemory
- (uint64_t)freeMemory
{
return sentrycrashcm_system_freememory();
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/include/SentryCrashWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SENTRY_NO_INIT

- (NSDictionary *)systemInfo;

- (NSInteger)freeMemory;
- (uint64_t)freeMemory;

@end

Expand Down
2 changes: 1 addition & 1 deletion Tests/SentryTests/SentryCrash/TestSentryCrashWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SENTRY_NO_INIT

@property (nonatomic, assign) BOOL closeCalled;

@property (nonatomic, assign) NSInteger internalFreeMemory;
@property (nonatomic, assign) uint64_t internalFreeMemory;

@end

Expand Down
2 changes: 1 addition & 1 deletion Tests/SentryTests/SentryCrash/TestSentryCrashWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ - (NSDictionary *)systemInfo
return @{};
}

- (NSInteger)freeMemory
- (uint64_t)freeMemory
{
return self.internalFreeMemory;
}
Expand Down

0 comments on commit 37e9eab

Please sign in to comment.