Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PINTO0309 authored May 2, 2018
1 parent 4737a9b commit c40a013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/arch/linux/net_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ int raw_serial::waitfordata(size_t data_count, _u32 timeout, size_t * returned_s

while ( isOpened() )
{
time_t now = time(nullptr) * 1000;
time_t now = time((void*)NULL) * 1000;
if ((now - startTime) > timeout) {
return ANS_TIMEOUT;
}
Expand Down

0 comments on commit c40a013

Please sign in to comment.