aboutsummaryrefslogtreecommitdiff
path: root/patches/ssl_txt.c.patch
blob: 6f3535fd8add0335d383c0355dc966825eb4e585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ssl/ssl_txt.orig	Sun Jul 17 17:26:59 2016
+++ ssl/ssl_txt.c	Sun Jul 17 17:35:44 2016
@@ -82,6 +82,7 @@
  * OTHERWISE.
  */
 
+#include <inttypes.h>
 #include <stdio.h>
 
 #include <openssl/buffer.h>
@@ -163,7 +164,7 @@
 	}
 
 	if (x->time != 0) {
-		if (BIO_printf(bp, "\n    Start Time: %lld", (long long)x->time) <= 0)
+		if (BIO_printf(bp, "\n    Start Time: %"PRId64, (int64_t)x->time) <= 0)
 			goto err;
 	}
 	if (x->timeout != 0L) {