Fix build for platforms not having ulong
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 13 Feb 2021 17:26:14 +0000 (17:26 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 19 Feb 2021 19:50:59 +0000 (19:50 +0000)
(cherry picked from commit be839a2609381f535f263ed0c459a4ebf3fd5d1d)

src/src/transports/appendfile.c

index 9947971d940d81d4da921fd8b23ae9070914455a..8ab8b60167faa3e1084557ba65e62472be9f2b81 100644 (file)
@@ -1784,7 +1784,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;
 
         }