Skip to content

Commit

Permalink
Fix long long to long warning
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisliu committed Oct 30, 2014
1 parent 27e9e11 commit 4c9e933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Amplitude.m
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ + (void)startSession

// Session has not been started yet, check overlap with previous session
NSNumber *previousSessionTime = [eventsData objectForKey:@"previous_session_time"];
long timeDelta = [now longLongValue] - [previousSessionTime longLongValue];
long long timeDelta = [now longLongValue] - [previousSessionTime longLongValue];

if (!sessionStarted || _sessionId < 0) {
if (timeDelta < kAMPMinTimeBetweenSessionsMillis) {
Expand Down

0 comments on commit 4c9e933

Please sign in to comment.