50f44d5b23
PR: 217573 Submitted by: yonas@fizk.net(maintainer)
11 lines
310 B
C
11 lines
310 B
C
--- util.c.orig 2017-01-31 10:22:11 UTC
|
|
+++ util.c
|
|
@@ -738,7 +738,7 @@ UTI_TimespecToNtp64(struct timespec *src
|
|
hi = lo = 0;
|
|
} else {
|
|
hi = htonl(sec + JAN_1970);
|
|
- lo = htonl(NSEC_PER_NTP64 * nsec);
|
|
+ lo = htonl((uint32_t)(NSEC_PER_NTP64 * nsec));
|
|
|
|
/* Add the fuzz */
|
|
if (fuzz) {
|