diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-20 00:37:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-20 00:37:45 +0000 |
commit | 2033572e6e8b1772f3c26c70cfd25ca92e8cd3b9 (patch) | |
tree | 5a92cb17054f3135ab4b57ed220124ec81111971 /security/pgp5/patches | |
parent | 2ccbb422f93cca66aaad8593292788b4e3ab3304 (diff) | |
download | pkgsrc-2033572e6e8b1772f3c26c70cfd25ca92e8cd3b9.tar.gz |
va_arg has to consider int promotion of char.
Diffstat (limited to 'security/pgp5/patches')
-rw-r--r-- | security/pgp5/patches/patch-am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/pgp5/patches/patch-am b/security/pgp5/patches/patch-am new file mode 100644 index 00000000000..bfec46df764 --- /dev/null +++ b/security/pgp5/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/01/20 00:37:45 joerg Exp $ + +--- lib/pgp/helper/pgpDebug.c.orig 2006-01-20 00:31:54.000000000 +0000 ++++ lib/pgp/helper/pgpDebug.c +@@ -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); |