packages/net/radsecproxy/patches/100-fix-debug-tid.patch
Eneas U de Queiroz 9364a3bac2 radsecproxy: bump to 1.7.1
Version 1.7.1 brings compatibility with openssl 1.1.0.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-09 15:19:23 +02:00

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;