[Pkg-gnupg-commit] [gnupg2] 193/241: gpg, w32: Fix a format string error.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Dec 9 20:32:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit 7c856f99144b84ac30e0c9a192f09dc36d93190a
Author: Werner Koch <wk at gnupg.org>
Date: Fri Nov 27 17:59:52 2015 +0100
gpg,w32: Fix a format string error.
* g10/keyring.c (keyring_search): Fix format string for off_t.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
g10/keyring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g10/keyring.c b/g10/keyring.c
index 5ebea99..cf67eb0 100644
--- a/g10/keyring.c
+++ b/g10/keyring.c
@@ -1216,8 +1216,8 @@ keyring_search (KEYRING_HANDLE hd, KEYDB_SEARCH_DESC *desc,
goto real_found;
if (DBG_LOOKUP)
- log_debug ("%s: packet starting at offset %zx matched descriptor %zd\n",
- __func__, offset, n);
+ log_debug ("%s: packet starting at offset %lld matched descriptor %zu\n"
+ , __func__, (long long)offset, n);
/* Record which desc we matched on. Note this value is only
meaningful if this function returns with no errors. */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list