Fix BSD_TIME variant of MS_TIME_DIFF for the case of a.tv_usec < b.tv_usec
authorIvan Maidanski <ivmai@mail.ru>
Fri, 4 Jan 2019 16:37:50 +0000 (19:37 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 5 Jan 2019 09:04:37 +0000 (12:04 +0300)
commit54e87d662eeb17459b0f33eb6fa423126ae4bca9
tree9e5a82be6985a4aaf5c6db2a859c23cb2813f50a
parentefcbf4dbe82db650d14fcf4b29b200c4e53f77a6
Fix BSD_TIME variant of MS_TIME_DIFF for the case of a.tv_usec < b.tv_usec
(fix of commit 6b2796b69)

* include/private/gc_priv.h [!NO_CLOCK && BSD_TIME] (MS_TIME_DIFF):
Cast the result of a.tv_usec-b.tv_usec to long (so that the result of
the division should be negative if a.tv_usec is less than b.tv_usec).
include/private/gc_priv.h