Skip to content

Commit

Permalink
Fixed typo that broke osx build. (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson authored Jun 20, 2019
1 parent 3917c09 commit 5d7bf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/posix/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ static int s_legacy_get_time(uint64_t *timestamp) {
return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
}

uint64_t secs = (uint64_t)ts.tv_sec;
uint64_t u_secs = (uint64_t)ts.tv_usec;
uint64_t secs = (uint64_t)tv.tv_sec;
uint64_t u_secs = (uint64_t)tv.tv_usec;
*timestamp = (secs * NS_PER_SEC) + (u_secs * 1000);
return AWS_OP_SUCCESS;
}
Expand Down

0 comments on commit 5d7bf61

Please sign in to comment.