ports/security/pgp5/patches/patch-lib_pgp_helper_pgpDebug_c

11 lines
474 B
Text

--- 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);