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>
Sat, 13 Feb 2021 17:26:14 +0000 (17:26 +0000)
src/src/transports/appendfile.c

index cc1d6333cc0a00fd8d2b43050a332166179fd7e4..3f2c4e4437d40274a546a2497bf5b192230f6868 100644 (file)
@@ -1780,7 +1780,7 @@ if (!isdirectory)
         {
         addr->basic_errno = ERRNO_NOTREGULAR;
         addr->message = string_sprintf("mailbox %s%s has too many links (%lu)",
         {
         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;
 
         }
         goto RETURN;
 
         }