Hi, On 05-11-17 10:14, Jeremie Courreges-Anglas wrote: > Here's another small diff, I forgot one suseconds_t occurrence. > > From cbe8237ff59129501e1e92c8fd6a3488d94c4c0f Mon Sep 17 00:00:00 2001 > From: Jeremie Courreges-Anglas <j...@wxcvbn.org> > Date: Sun, 5 Nov 2017 10:03:26 +0100 > Subject: [PATCH] Cast and print another suseconds_t as long > > Missed in 31b5c0e > --- > src/openvpn/forward.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c > index a91a8d9a..1b7455bb 100644 > --- a/src/openvpn/forward.c > +++ b/src/openvpn/forward.c > @@ -649,7 +649,7 @@ check_timeout_random_component_dowork(struct context *c) > c->c2.timeout_random_component.tv_usec = (time_t) get_random() & > 0x0003FFFF; > c->c2.timeout_random_component.tv_sec = 0; > > - dmsg(D_INTERVAL, "RANDOM USEC=%d", (int) > c->c2.timeout_random_component.tv_usec); > + dmsg(D_INTERVAL, "RANDOM USEC=%ld", (long) > c->c2.timeout_random_component.tv_usec); > } > > static inline void > -- > 2.14.3
Makes sense. Acked-by: Steffan Karger <stef...@karger.me> -Steffan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel