openbsd-ports/security/gnutls/patches/patch-lib_opencdk_keydb_c
2011-06-21 09:55:43 +00:00

17 lines
743 B
Plaintext

$OpenBSD: patch-lib_opencdk_keydb_c,v 1.2 2011/06/21 09:55:43 ajacoutot Exp $
keydb.c:123: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'off_t'
keydb.c:123: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'off_t'
--- lib/opencdk/keydb.c.orig Thu May 26 07:55:15 2011
+++ lib/opencdk/keydb.c Tue Jun 21 11:01:18 2011
@@ -119,7 +119,7 @@ keydb_idx_build (const char *file)
rc = cdk_pkt_read (inp, pkt);
if (rc)
{
- _cdk_log_debug ("index build failed packet off=%lu\n", pos);
+ _cdk_log_debug ("index build failed packet off=%lu\n", (long unsigned int)pos);
/* FIXME: The index is incomplete */
break;
}