Skip to content

Commit

Permalink
Merge pull request wjwwood#93 from legath/master
Browse files Browse the repository at this point in the history
fix for clang build on macosx
  • Loading branch information
wjwwood committed Apr 6, 2015
2 parents 5b13be4 + e26a977 commit d7084ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl/unix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ Serial::SerialImpl::waitReadable (uint32_t timeout)
void
Serial::SerialImpl::waitByteTimes (size_t count)
{
timespec wait_time = { 0, byte_time_ns_ * count };
timespec wait_time = { 0, static_cast<long>(byte_time_ns_ * count)};
pselect (0, NULL, NULL, NULL, &wait_time, NULL);
}

Expand Down

0 comments on commit d7084ce

Please sign in to comment.