Version 1.7.1 brings compatibility with openssl 1.1.0. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
11 lines
375 B
Diff
11 lines
375 B
Diff
--- a/debug.c
|
|
+++ b/debug.c
|
|
@@ -153,7 +153,7 @@ void debug_logit(uint8_t level, const ch
|
|
|
|
if (debug_tid) {
|
|
tidbuf = malloc((3*sizeof(pthread_t)+5)+strlen(format));
|
|
- sprintf(tidbuf, "(%ld) %s", pthread_self(), format);
|
|
+ sprintf(tidbuf, "(%ld) %s", (long int)pthread_self(), format);
|
|
format = tidbuf;
|
|
} else
|
|
tidbuf = NULL;
|