projects
/
nbdkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ea138
)
Fix nbdkit_parse_delay on 32bit systems
author
Hilko Bengen
<bengen@debian.org>
Sun, 25 Aug 2024 15:58:22 +0000
(17:58 +0200)
committer
Hilko Bengen
<bengen@debian.org>
Sun, 25 Aug 2024 15:59:41 +0000
(17:59 +0200)
Gbp-Pq: Name 0008-Fix-nbdkit_parse_delay-on-32bit-systems.patch
server/public.c
patch
|
blob
|
history
diff --git
a/server/public.c
b/server/public.c
index c183aefbaeca8067508c1b2778b6989f3ab3d9eb..912504a42e61e44618c7a768a398c26511830640 100644
(file)
--- a/
server/public.c
+++ b/
server/public.c
@@
-465,7
+465,7
@@
nbdkit_parse_delay (const char *what, const char *str,
if (rsec)
*rsec = d;
if (rnsec)
- *rnsec =
(d - *rsec) * 1000000000.
;
+ *rnsec =
round((d - *rsec) * 1000000000.)
;
return 0;
}