Skip to content

Commit

Permalink
Merge pull request #352 from luochunbei/master
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcw authored Oct 10, 2021
2 parents cbf1d72 + e0ca331 commit f26242b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
do \
{ \
int64_t tmp_time; \
tmp_time = (c) * (int64_t) ((tvp)->tv_sec * SEC_TO_##prefix##SEC + \
tmp_time = (c) * (int64_t) ((int64_t) (tvp)->tv_sec * SEC_TO_##prefix##SEC + \
(int64_t) (tvp)->tv_##prefix##sec); \
(result)->tv_##prefix##sec = tmp_time % SEC_TO_##prefix##SEC; \
(result)->tv_sec = (tmp_time - (result)->tv_##prefix##sec) / \
Expand Down

0 comments on commit f26242b

Please sign in to comment.