summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-12-26 18:18:33 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-01-12 19:10:30 +0000
commitae13c7671a1651300395f41b9df6990dafdce4a5 (patch)
tree29f45863bde75b6fc5f949f8644936cd2bb37d71
parentf8f129d658e8b2e25714b09737c47623ebf2ed2f (diff)
downloadexim4-ae13c7671a1651300395f41b9df6990dafdce4a5.tar.gz
Fix build warning on 32-bit int platfowms. Bug 2678
(cherry picked from commit abca11df7f354c123b0ff8a9bfb89a669d7742d4)
-rw-r--r--src/src/pdkim/pdkim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c
index 3a6ca4e91..f68324097 100644
--- a/src/src/pdkim/pdkim.c
+++ b/src/src/pdkim/pdkim.c
@@ -1324,7 +1324,8 @@ check_bare_ed25519_pubkey(pdkim_pubkey * p)
int excess = p->key.len - 32;
if (excess > 0)
{
- DEBUG(D_acl) debug_printf("DKIM: unexpected pubkey len %lu\n", p->key.len);
+ DEBUG(D_acl)
+ debug_printf("DKIM: unexpected pubkey len %lu\n", (unsigned long) p->key.len);
p->key.data += excess; p->key.len = 32;
}
}