Skip to content

Commit

Permalink
Fix Linux compile issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Jan 26, 2016
1 parent 57a3d8b commit afdf3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StopWatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ unsigned int CStopWatch::elapsed()
elapsed += now.tv_usec / 1000U;
elapsed -= m_start.tv_usec / 1000U;

return (unsigned int)(b - a);
return elapsed;
}

#endif

0 comments on commit afdf3cb

Please sign in to comment.