[exim-cvs] Fix build for platforms not having ulong

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Exim Git Commits Mailing List
Fecha:  
A: exim-cvs
Asunto: [exim-cvs] Fix build for platforms not having ulong
Gitweb: https://git.exim.org/exim.git/commitdiff/be839a2609381f535f263ed0c459a4ebf3fd5d1d
Commit:     be839a2609381f535f263ed0c459a4ebf3fd5d1d
Parent:     0cd95fa34e04827767674b6a5545c55ae391a3e2
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Feb 13 17:26:14 2021 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Feb 13 17:26:14 2021 +0000


    Fix build for platforms not having ulong
---
 src/src/transports/appendfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index cc1d633..3f2c4e4 100644
--- a/src/src/transports/appendfile.c
+++ b/src/src/transports/appendfile.c
@@ -1780,7 +1780,7 @@ if (!isdirectory)
         {
         addr->basic_errno = ERRNO_NOTREGULAR;
         addr->message = string_sprintf("mailbox %s%s has too many links (%lu)",
-          filename, islink ? " (symlink)" : "", (ulong)statbuf.st_nlink);
+          filename, islink ? " (symlink)" : "", (unsigned long)statbuf.st_nlink);
         goto RETURN;


         }