diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2017-12-08 03:45:52 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-12-12 10:32:04 +1100 |
commit | aabd75ec76575c1b17232e6526a644097cd798e5 (patch) | |
tree | 9422eeb56e72794e276371ca1c29a3c46055e2de | |
parent | fd4eeeec16537870bd40d04836c7906ec141c17d (diff) | |
download | openssh-git-aabd75ec76575c1b17232e6526a644097cd798e5.tar.gz |
upstream commit
time_t printing needs %lld and (long long) casts ok djm
OpenBSD-Commit-ID: 4a93bc2b0d42a39b8f8de8bb74d07ad2e5e83ef7
-rw-r--r-- | moduli.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: moduli.c,v 1.31 2016/09/12 01:22:38 deraadt Exp $ */ +/* $OpenBSD: moduli.c,v 1.32 2017/12/08 03:45:52 deraadt Exp $ */ /* * Copyright 1994 Phil Karn <karn@qualcomm.com> * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> @@ -412,8 +412,8 @@ gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start) time(&time_stop); - logit("%.24s Sieved with %u small primes in %ld seconds", - ctime(&time_stop), largetries, (long) (time_stop - time_start)); + logit("%.24s Sieved with %u small primes in %lld seconds", + ctime(&time_stop), largetries, (long long)(time_stop - time_start)); for (j = r = 0; j < largebits; j++) { if (BIT_TEST(LargeSieve, j)) |