From: Andy Polyakov Date: Wed, 30 Sep 2015 08:28:14 +0000 (+0200) Subject: bio/bss_log.c: harmonize format string to silence -Wformat. X-Git-Tag: OpenSSL_1_1_0-pre1~471 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21ff9ac815f363a4fc9c8dc80ca09f0a5b2f02ef;p=oweals%2Fopenssl.git bio/bss_log.c: harmonize format string to silence -Wformat. Reviewed-by: Richard Levitte --- diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index f59ec7cce7..a86ea29b67 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -322,7 +322,7 @@ static void xsyslog(BIO *bp, int priority, const char *string) break; } - sprintf(pidbuf, "[%u] ", GetCurrentProcessId()); + sprintf(pidbuf, "[%lu] ", GetCurrentProcessId()); lpszStrings[0] = pidbuf; lpszStrings[1] = string;