aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-11-27 16:59:52 +0000
committerWerner Koch <[email protected]>2015-11-27 17:32:26 +0000
commit7c856f99144b84ac30e0c9a192f09dc36d93190a (patch)
tree5c2b1353d9052d525023cebb95fc5a1c7d0fbb31
parentSilence compiler warnings related to not using assuan_fd_t. (diff)
downloadgnupg-7c856f99144b84ac30e0c9a192f09dc36d93190a.tar.gz
gnupg-7c856f99144b84ac30e0c9a192f09dc36d93190a.zip
gpg,w32: Fix a format string error.
* g10/keyring.c (keyring_search): Fix format string for off_t. Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--g10/keyring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keyring.c b/g10/keyring.c
index 5ebea990b..cf67eb0cd 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. */