[exim-cvs] Fix build warning on 32-bit int platfowms. Bug 2…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Fix build warning on 32-bit int platfowms. Bug 2678
Gitweb: https://git.exim.org/exim.git/commitdiff/abca11df7f354c123b0ff8a9bfb89a669d7742d4
Commit:     abca11df7f354c123b0ff8a9bfb89a669d7742d4
Parent:     71c8c2ef07fabc64c4b56b6eee1eeffb88a8f5e0
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Dec 26 18:18:33 2020 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Dec 26 18:18:33 2020 +0000


    Fix build warning on 32-bit int platfowms.  Bug 2678
---
 src/src/pdkim/pdkim.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c
index 3a6ca4e..f683240 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;
   }
 }