summaryrefslogtreecommitdiff
path: root/AK/Time.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Time.h')
-rw-r--r--AK/Time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Time.h b/AK/Time.h
index e1475033d4..a919f36f5e 100644
--- a/AK/Time.h
+++ b/AK/Time.h
@@ -133,8 +133,8 @@ inline void timespec_add_timeval(const TimespecType& a, const TimevalType& b, Ti
template<typename TimevalType, typename TimespecType>
inline void timeval_to_timespec(const TimevalType& tv, TimespecType& ts)
{
- ts.tv_sec = tv.tv_sec;
- ts.tv_nsec = tv.tv_usec * 1000;
+ ts.tv_sec = tv.tv_sec;
+ ts.tv_nsec = tv.tv_usec * 1000;
}
template<typename TimespecType, typename TimevalType>