bio/bss_log.c: harmonize format string to silence -Wformat.
authorAndy Polyakov <appro@openssl.org>
Wed, 30 Sep 2015 08:28:14 +0000 (10:28 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 5 Oct 2015 07:25:54 +0000 (09:25 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/bss_log.c

index f59ec7cce7a17a1bb3ea3b4c7f0494bd057532b2..a86ea29b6780c325f3beba9bef824bb0f227f882 100644 (file)
@@ -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;