openbsd-ports/security/pgp5/patches/patch-lib_pgp_helper_pgpDebug_c

13 lines
557 B
Plaintext

$OpenBSD: patch-lib_pgp_helper_pgpDebug_c,v 1.1 2002/11/28 23:31:19 pvalchev Exp $
--- lib/pgp/helper/pgpDebug.c.orig Thu Nov 28 15:37:22 2002
+++ lib/pgp/helper/pgpDebug.c Thu Nov 28 15:37:41 2002
@@ -191,7 +191,7 @@ pgpFormatVAStr(
case 'c': /* Single character */
{
- char ch = va_arg(args, char);
+ char ch = va_arg(args, int);
AppendChars(buffer, &bufferIndex, bufferSize,
canonicalizeNLs, &ch, 1);